AngularJS: Developing Custom Services (factory vs service vs Provider)

Veröffentlicht am: 28 Dezember 2015
auf dem Kanal: Tech CBT
131,572
853

UPDATE: Around 44:00, it was mentioned about async callback functions. Callback functions are never async by default. They are always sync. However, they become async once they are executed as part of some other async function (especially in this case, it would be $http).

-What are AngularJS Services

-What are AngularJS Custom Services

-Where do we write business logic in AngularJS

-How to develop Angular JS Custom Services

-How to use "factory" to develop Angular Custom Service

-How to use "service" to develop Angular Custom Service

-How to use "provider" to develop Angular Custom Service

-AngularJS Custom Service - Factory vs Service vs Provider

-How to provide configuration information to Angular Custom Service using "provider"

-How to consume Angular JS Custom Services in Controllers

-How to do AJAX as part of Angular JS Custom Services

-How to consume NodeJS REST service using Angular JS Custom Service

-How to use $log and $http as part of Custom Services

-How to develop aync code (using callback functions)

-How to update $scope from Angular JS Custom Services

Source code: http://www.techcbt.com/Post/353/Angul...


Auf dieser Seite können Sie das Online-Video AngularJS: Developing Custom Services (factory vs service vs Provider) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Tech CBT 28 Dezember 2015 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 131,572 Mal angesehen und es wurde von 853 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!