Top "Angular-controller" questions

AngularJS Upgrade (1.5 to 1.6,1.7) Makes directive scope bindings undefined

I have the following code: angular .module('myApp') .directive('layout', function () { return { restrict: 'E', template: '<div ng-include="layoutCtrl.…

angularjs angular-directive angular-controller angularjs-1.6
Error: $controller:ctrlreg The controller with the name '{0}' is not registered

app.js (function(){ 'use strict'; angular .module('app', ['ngRoute', 'ngCookies']) .config(config) config.$inject = ['$routeProvider', '$locationProvider']; function config($…

javascript angularjs angular-controller
'Promise' is undefined error when run on IE

I have a controller code that runs fine on Chrome, but when run on IE 10 the same code returns ReferenceError: …

angularjs angular-controller
How to pass the DTOptionsBuilder and DTColumnBuilder to the controller in angular-datatables

I started to learn AngularJS-1.5.7 and also angular-datatables. I followed some examples in this page https://l-lin.github.io/angular-datatables/#/…

javascript angularjs datatables angular-controller angular-datatables