I have this global set for my Connection App module:
var app = Angular Module ('app', [], function ($ InterpolleteProver) {//$interpolateProvider.startSymbol('<% '); //$interpolateProvider.endSymbol('%>');});
I include it on all pages of an angular baggage.
Then I have a Load Controller on a page which requires a service called 'angularFileUpload' If I put that service inside the module array, then it works fine Is it a way to attach this controller instead ... This means that I use this module to create a script file for each page If there is no need to load edit: regarding the last comment If I declare: :
App.controller ( 'FileUploadController', ['$ scope', 'FileUploader', function ($ Range, FileUploader) {
< Code> var app = angular.module ('app');
How do I add that service to the module?
No comments:
Post a Comment