back soft

مطالب مرتبط با «angularjs what is $q» در back soft | نویسنده: استخدام کار

AngularJs, What is better when creating a controller?

Vote count: 0 What is better when creating a controller in AngularJs: 1- angular.module('myApp') .controller('MyController',['$scope','dependencies','myService', function($scope, dependencies, myService ) { }]); 2- angular.module('myApp') .controller('MyController', function($scope, dependencies, myService ) { }]); asked 44 secs agoshireef khatab Let's block ads!...

ادامه مطلب

برچسب‌های مرتبط

angularjs what is | angularjs what is a directive | angularjs what is scope | angularjs what is a controller | angularjs what is $q | angularjs what is a promise | angularjs what is ng | angularjs what is a module | angularjs what is a service | angularjs what is transclude