tag:blogger.com,1999:blog-5839969784533137829.post7881751272680643292..comments2024-01-30T22:54:17.805-08:00Comments on Programming Concepts Help: Learning AngularJS Part 4: Modular Design of AngularJS ApplicationZaheer Ahmedhttp://www.blogger.com/profile/02597314684496422985noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5839969784533137829.post-45759309455521849722015-05-13T03:52:08.552-07:002015-05-13T03:52:08.552-07:00Need some more intro for service,factory,api which...Need some more intro for service,factory,api which u mentioned abov.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5839969784533137829.post-37417622428141725882015-02-27T06:55:45.866-08:002015-02-27T06:55:45.866-08:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5839969784533137829.post-50608844295028144392014-08-10T22:17:44.928-07:002014-08-10T22:17:44.928-07:00Thanks for liking! For module in separate file you...Thanks for liking! For module in separate file you need to include js file in index.html and then you can access it page you want like:<br /><br /> myApp.factory('MyService', ['ModuleName', function ('ModuleName') {<br /> <br /> var factory = {};<br /> <br /> factory.getUser = function () {<br /> //..<br /> } <br /> return factory;<br /> }]);Zaheer Ahmedhttps://www.blogger.com/profile/02597314684496422985noreply@blogger.comtag:blogger.com,1999:blog-5839969784533137829.post-22637153333897947042014-08-10T22:00:01.380-07:002014-08-10T22:00:01.380-07:00Nice article. If one were to create separate js fi...Nice article. If one were to create separate js files for each module, how to load a module per view or config route?Anonymoushttps://www.blogger.com/profile/04993778520480776239noreply@blogger.com