AngularJS Good Practices Training Course

Primary tabs

Course CodeCourse Code

AJS-GP

Duration Duration

14 hours (usually 2 days including breaks)

Overview Overview

Angular Bespoke Course Outline

This agenda can be adjusted or extended.

This course is usually for javascript developers with some angularjs basic experience, who want to learn best angularjs practices and also to do their angular applications in better and more organized way.

Course OutlineCourse Outline

Avoiding major pitfalls of scaling an AngularJS app

Proper MVC directory structure

Writing Modules in a smarter way

  • Keeping the names consistent
  • Modularize the Header, Footer, Routes

Dependency injection and minifying the code

  • Global dependencies

Not-overusing Controllers

  • Syntax of 'controllerAs'
  • Using 'bindToController' in our Directives
  • Making 'ng-click' conditional

Factory vs Service

  • All providers are singletons

Utilizing browser extensions (Batarang, etc)

To many watchers and performance issues

Scoping

  • Write-only in the controllers
  • Read-only in the templates
  • Object in the scope instead of properties
  • Avoiding to shadow property of the parent '$scope'
  • Prototypical inheritance
  • Keeping scope uncluttered
  • How to talk with sibling objects

One-Time Binding

Not-manual testing

  • ngMock module

Protractor

  • e2e tests with Jasmine '
  • $digest' cycles

Karma

  • How to easly close the feedback loop
  • Run tests in parallel across different browsers
  • Real world usage scenarios with different devices

Not-using jQuery

  • Change the way of thinking

Proper deploying

  • Facade to interact with servers
  • Separation of server interaction and error handling from the model
  • Business logic in models
  • Configure providers before they are injected
  • Proper use of '$scope.$emit()' and '$scope.$broadcast'
  • Automating our workflow
  • yo, grunt, bower
  • Use case with cordova

Angular 1 vs Angular 2

  • Differences and similarities
  • Three ways: typescript, pure js, dart
  • Good practices in Angular 2
  • Upgrading from version 1

TestimonialsTestimonials

It is good to have hands on exercises after lectures

bonnie lee

The code examples and the elaboration.

Antony Ho

Bookings, Prices and EnquiriesBookings, Prices and Enquiries

Private Classroom
 
Private Classroom
Participants are from one organisation only. No external participants are allowed. Usually customised to a specific group, course topics are agreed between the client and the trainer.
Private Remote
From 2680EUR
Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet. More Information

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Private Remote
1 2680EUR
2 1660EUR
3 1320EUR
4 1150EUR
Public Classroom
From 4180EUR
Request
Public Classroom
Participants from multiple organisations. Topics usually cannot be customised

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom
1 4180EUR
2 2460EUR
3 1887EUR
4 1600EUR
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories

Related Courses

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.

Some of our clients