Top "Angularjs-1.6" questions

Represents questions specific to AngularJS 1.6. This release brings (among others) news on the component method, $http success() and error() and the ngModelOptions inheritence.

Angular 1.6.0: "Possibly unhandled rejection" error

We have a pattern for resolving promises in our Angular app that has served us well up until Angular 1.6.0: resource.…

javascript angularjs karma-runner angular-promise angularjs-1.6
Error with $http.get in angularJS -- Success not a Function

Getting this error: angular.min.js:122 TypeError: $http.get(...).success is not a function at getUserInfo (app.js:7) at new (…

angularjs angularjs-http angularjs-1.6
Possibly unhandled rejection in Angular 1.6

I have a code with AngularJS: service.doSomething() .then(function(result) { //do something with the result }); In AngularJS 1.5.9 when I …

javascript angularjs angular-promise angular-providers angularjs-1.6
Why are AngularJS $http success/error methods deprecated? Removed from v1.6?

The AngularJS documentation has a Deprecation Notice for the $http success and error methods. Is there a specific reason this …

angularjs angularjs-http angularjs-1.6
angularjs 1.6.0 (latest now) routes not working

I was expecting to see this question on Stackoverflow but didn't. Apparently I'm the only one having this problem that …

angularjs angular-routing ngroute angularjs-ng-route angularjs-1.6
AngularJS All slashes in URL changed to %2F

I'm having a massive problem with AngularJS routing. Up until recently everything has been fine with the following route: $routeProvider.…

angularjs laravel href angularjs-1.6
URL hash-bang (#!/) prefix instead of simple hash (#/) in Angular 1.6

My URLs on an AngularJS project have changed from localhost:3000/admin#/ to localhost:3000/admin#!/ since the last time I worked …

javascript angularjs url hashbang angularjs-1.6
AngularJS: How to remove #!/ (bang prefix) from URL?

I already have done $locationProvider.html5Mode(true); but it is not working. Whenever I access http://example.com it …

angularjs routing angular-ui-router angularjs-1.6
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
AngularJS errors: Blocked loading resource from url not allowed by $sceDelegate policy

I'm currently following a tutorial in AngularJS. This is the code in my controllers.js file. 'use strict'; angular.module ( …

javascript angularjs angularjs-1.6