Hi All,
As I am new Angular-JS and therefore few usage is not clearly known to me -
Currently I'm working with three modules -
var validationApp = angular.module('validationApp', []);
var BankingModule = angular.module('BankingModule', ['ngResource']);
var routingModule = angular.module('routingModule', [])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider.when('/home', {templateUrl: 'home.html', controller:
'userInfoCtrl'});
$routeProvider.when('/user-list', {templateUrl:
'partials/user-list.html', controller: 'userListController'});
$routeProvider.when('/user-creation', {templateUrl:
'partials/user-creation.html', controller: 'UserCreationCtrl'});
$routeProvider.otherwise({redirectTo: '/home'});
}]);
I need not to write an extra module like *routingModule *But if I write the
config with Banking Module it does not work. Where is the problem actually
? Therefore I wanted to use multiple module (using *angular.bootstrap*) but
that also did not work for me !
Please guide me some way so that I resolve the problem !
Thanks in advance !
Jayanta P.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.