Thursday, 13 April 2017

how to create angularjs module

var myapp=angular.module("pawanapplication",['pass list of dependencies']);
how to use my app on controller
myapp.controller("controllername",function($scope,dependencies like $http){

hare you can write your code;

});

No comments:

Post a Comment