1
vote
0answers
31 views

getting an error : Argument 'ctrl' not defined in angular js

my index.html file has the following : <script src="scripts/controllers/form/DashboardCtrl.js" /> <script src="scripts/controllers/chart/morrisChartCtrl.js" /> my app.js file is as ...
0
votes
2answers
41 views

Dynamic tabs in Angular-UI fails?

Created this simple test-case which shows the error occuring: HTML <tabset ng-repeat="tab in tabs"> <tab heading="{{tab.title}}"> <i ...
0
votes
0answers
95 views

Angular-ui bootstrap modal without creating new controller

plunk: http://plnkr.co/edit/85Wl5W If I use the $modalInstance on the same controller(modalController.js), without being in a modal, angular gets frozen. I just want to simplify my life using ...
0
votes
1answer
738 views

Angular ui.router, call parent controller function from child controller?

I'm using Angular with ui.router and have setup a nested view. The parent view has a div whose visibility I can toggle through a function on the parent controller. I'd like to call this function from ...
0
votes
1answer
314 views

Organizing a AngularJS Controller

I'm new to the AngularJS world and come from a Backbone background. So far I'm loving it but there is quite a big difference in terms of architecture practices between the two ( someone should write ...