Introduction to AngularJS

Slides:



Advertisements
Similar presentations
Susan Ibach | Microsoft Technical Evangelist Christopher Harrison | Microsoft Certified Trainer.
Advertisements

Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
USING ANGULARJS WITH SITEFINITY
Jon Galloway | Technical Evangelist Christopher Harrison | Content Developer.
Gerry O’Brien| Technical Content Development Manager Paul Pardi| Senior Content Publishing Manager.
Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
Join the MVA Community! ▪ Microsoft Virtual Academy—Free online training! ‒ Tailored for IT Pros and Developers ‒ Over 1M registered users ▪ Earn while.
Join the MVA Community! ▪ Microsoft Virtual Academy—Free online training! ‒ Tailored for IT Pros and Developers ‒ Over 1M registered users ▪ Earn while.
Jon Galloway | Development Platform Evangelist Christopher Harrison | Microsoft Certified Trainer.
Jaime Rodriguez | Microsoft Principal Technical Evangelist Laurent Bugnion | IdentityMine Senior Director XAML Deep Dive for Windows & Windows Phone Apps.
Microsoft Virtual Academy Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer.
Learn AngularJS by Building 10 projects. Introduction to AngularJS An Open source web application framework by Google Written in JavaScript offers complete.
Naqash Ahmed | Microsoft Student Partner. Naqash Ahmed | Student of Bachelors in Software Engineering Microsoft Student Partner since November.
Tom Resing | SharePoint Engineer, Jive Software Christopher Harrison | Microsoft Certified Trainer.
Christopher Harrison | Content Developer, Microsoft Rachel Jones| Microsoft Certified Trainer, SourceDev.
AngularJS Best Practices High Quality SPA Applications SoftUni Team Technical Trainers Software University
Join the MVA Community! ▪ Microsoft Virtual Academy—Free online training! ‒ Tailored for IT Pros and Developers ‒ Over 1M registered users ▪ Earn while.
Cross Platform Development with Xamarin & Visual Studio 2013
Introduction to Programming using Python
JavaScript for Experienced Developers
SharePoint 2013 Best Practices
Porting your Unity Game to the Windows Store Jump Start
Web API Design Jeremy Likness | Principal Architect
Introduction to JSON with C#
The Cliff Notes Version
Introduction to ASP.NET MVC Jump Start
Cloud Enable at APS.NET LOB App
Becoming a Visio 2013 Power User – Part 3
Programming Robotic Systems using Visual Studio
Top 10 AngularJS Interview Questions Before you decide to step up and face your AngularJS Interview questions, learn about its various features to face.
Training Institute Pune AngularJS Course. What is AngularJS ? AngularJS is a structural framework that is used in Single Page HTML for declaring dynamic.
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
Django in the Real World
Step by Step - AngularJS
Creating Windows Store Apps Using Visual Basic
Django in the real world
Cross Platform Development with Xamarin & Visual Studio 2013
Office 365 Admin Support Skills: Service Management
Join the MVA Community! Microsoft Virtual Academy—Free online training! Tailored for IT Pros and Developers Over 1M registered users Earn while you learn!
jQuery The Easy JavaScript Nikolay Chochev Technical Trainer
Cloud-Enable a Windows Presentation Foundation LOB App
Introduction to jQuery
Getting Started with PowerShell Desired State Configuration (DSC)
Introduction to Programming using Python
Join the MVA Community! Microsoft Virtual Academy—Free online training! Tailored for IT Pros and Developers Over 2M registered users Earn while you learn!
Package Management and Workflow Automation
06 | Using AngularJS to create an SPA
Game Production Basics
Developing Microsoft Azure Solutions Jump Start
A Lap Around Azure Websites Introduction
ASP.NET MVC Web Development
Implementing Entity Framework with MVC Jump Start
ASP.NET Authentication with Identity Jump Start
Single Page Applications with jQuery or AngularJS
Developing Universal Windows Apps with HTML and JavaScript
Gaming Engines for Windows 8
Quick Start Challenge: Universal Projects to Build a Game
Pranav Rastogi | Program Manager, Microsoft
Quick Start Challenge: Microsoft Advertising SDK
05 | An Introduction to AngularJS
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Lighting Up Real-time Web Communications with SignalR Introduction
02 | Angular Controllers Stacey Mulcahy | Technical Evangelist
Stacey Mulcahy| Technical Evangelist Jamie Kosoy | Content Developer
Getting Started with PowerShell Jump Start
Jeffrey Snover | Distinguished Engineer & Lead Architect
04 | Understanding Frameworks
What’s ASP.NET 5 and Why? Scott Hunter | Director of Program Management Scott Hanselman | Principal Program Manager.
Getting Started with Microsoft Azure Machine Learning
Adding Style with CSS Helen Zeng | Developer Evangelist
Presentation transcript:

Introduction to AngularJS Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer

Meet Stacey Mulcahy | ‏@bitchwhocodes Technical Evangelist, Microsoft NYC Focuses on HTML/JS, IoT, Design & UX Interviews designers & developers http://bit.ly/1CPUJNX Talks Marketing & IoT on Channel 9 http://channel9.msdn.com/niners/bitchwhocodes Blogs at http://thebitchwhocodes.com Hosts and runs www.younggamemakers.com – teaching kids how to make games

Meet Christopher Harrison | ‏@geektrainer Content Developer Focused on ASP.NET and Office 365 development Microsoft Certified Trainer Regular presenter at TechEd Long time geek Still misses his Commodore 64 Periodic blogger (blog.geektrainer.com) Marathoner, husband, father of one four legged child

Course Topics Introduction to AngularJS 01 | Getting Started – Binding & Modules 04 | Directives 02 | Controllers 05 | View Management & Routing 03 | Filtering Data 06 | Services & External data

Setting Expectations Target Audience Web Developers Experience with JavaScript Understanding of MVC, MVVM principles Targeting AngularJS < 2.0 Suggested Prerequisites/Supporting Material Collected tutorials & articles https://pinboard.in/u:bitchwhocodes/t:angular/ http://www.microsoftvirtualacademy.com/training-courses/single- page-applications-with-jquery-or-angularjs

Join the MVA Community! Microsoft Virtual Academy Free online learning tailored for IT Pros and Developers Over 2.6 million registered users Up-to-date, relevant training on variety of Microsoft products “Earn while you learn!” Get 50 MVA Points for this event! Visit http://aka.ms/MVA-Voucher Enter this code: IntroAngularJS (Expires 23Feb15)

01 | Getting Started – About AngularJS, Binding & Modules Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer

Getting Started – About Angular JS, Binding & Modules The Why and What of AngularJS How AngularJS works Hello World AngularJS application What are AngularJS Modules Creating an AngularJS Module Module Architecture

01 | The Why and What of AngularJS Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer

What is AngularJS Front-end JavaScript framework for creating web applications Open source maintained by Google MVC pattern Handles common ( and often trying tasks ) such as DOM manipulation, updating UI based on data or input, registering callbacks. Declarative programming

Why Use Angular Good for dynamic web sites / web apps ( CRUD based ) Framework imposes a structure that is good for organization Helps create responsive ( fast ) websites Easy to test – to create software that is easily maintained

Declarative AngularJS jQuery The intention of the application is expressed or declared in the HTML for AngularJS

01 | How AngularJS Works Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer

Getting Started – How AngularJS Works AngularJS will initialize when the DOM content is loaded Looks for the ng-app directive – if its found, that is the root of the app Directives can be declared a variety of ways: typically with the ng- prefix, but you can use data-ng It will load the module associated with the directive if specified

Getting Started – Bootstrap http://docs.angularjs.org/guide/bootstrap

Getting Started – How AngularJS Works Angular uses Constructor Injection – dependences are passed into the constructor Constructor injection enforces order of initialization

Getting Started – Dependency Injection https://docs.angularjs.org/guide/di#using-strict-dependency-injection

Hello World AngularJS Application

01 | What are AngularJS Modules Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer

Getting Started – What are Modules? Containers for the various parts of your application ( controllers, services etc ) Declarative – easy to understand Maintainable, readable, testable Define dependencies for our app Module API https://docs.angularjs.org/api/ng/type/angular.Module

Getting Started – Modules Setup A Module is comprised of configuration and run blocks Configuration blocks – executed during configuration and registration. Only providers and constants can be passed. Run blocks – happen after the injector is created. Only instances and constants can be passed in. Some convenience methods for this Run blocks is like a main method – it kickstarts the application Modules can depend on other modules They are only loaded once.

Getting Started – Modules Setup https://docs.angularjs.org/guide/module

01 | Creating an AngularJS Module Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer

Creating a Module Naming convention is lowerCamelCase Organize by functionality or component type

Creating an AngularJS Module

Initializing An AngularJS Application Manually

01 | Module Architecture Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer

Getting Started – Module Architecture Modules for each feature Modules for each reusable component Application level module with module dependencies injected and any setup

Multiple Modules in AngularJS