You will learn:
• Structure of AngularJS single page applications
• Creating models, views, and controllers
• Using data binding and templates
• Using modules
• Using services
• Working with Ajax and REST
• Testing techniques
Manual testing: Moving towards unit testing: Defining more flexible tests: Improving the testing experience: Automating tests: Defining setup and teardown code: Dealing with exceptions.
How to do test driven development: Patterns and best practice
Protecting the global namespace: Defining namespaces: Implementing a robust namespace factory.
Creating AngularJS Applications:
Creating a project: Creating a data model: Creating a controller: Creating a view.
Going Further with AngularJS:
Two-way model binding: Controller behaviours: Behaviour dependencies: Handling user interactions.
Filtering and ordering model data: Generating links: URL navigation: Dependency injection.
Overview of modules: Using modules to define controllers, directives, filters, and services
Binding and Template Directives:
Overview of directives: Using data binding directives: Using template directives: Partial views.
Elements and Event Directives:
Using element directives: Handling events: Working with various types of attributes.
Using form elements with two-way bindings: Validating forms: Displaying validation error messages: Using form directive attributes.
Overview of services: Services for expressions and errors: Services for Ajax and promises: Services for REST: Services for injection.
Ajax and REST:
Round-trip vs. single page applications (SPA): Ajax: RESTful services: Promises: JSON
Testing Angular Code:
Angular BDD Workshop:
Requirements for the application: Defining test specs: Implementing controllers to pass the test specs: Implementing the UI views.
Instructor: Andy Olsen
Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books. Andy delivers classroom training and mentoring to companies around the world.
Målgruppe for kurset