Questions tagged [angularjs-1.6]

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.

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.

Migration from 1.5 to 1.6 is explained in this article from the Angular documentation.

158 questions
6
votes
2 answers

Angular 1.6 bindings inside controller

Im trying to pass some parameters to my component through bindings, but unfortunately I'm not having luck in using those params in my controller, this is my code: angular.module('project1').component('menu', { templateUrl:…
Dave Plug
  • 1,068
  • 1
  • 11
  • 22
5
votes
3 answers

AngularJS : TypeError: $http(...).success is not a function on asp.net WebMethod

I am new to AngularJs and using it in a web form My Code is as below var app = angular.module('demoApp', []) app.controller('usrController', function ($scope, $http, $window) { $scope.userdata = {}; var post = $http({ method:…
Sabyasachi Mishra
  • 1,677
  • 2
  • 31
  • 49
4
votes
2 answers

AngularJS -$compileProvider.preAssignBindingsEnabled is not a function

I'm getting the following error message when attempting to do a gulp serve on my AngularJS (ver 1.6.10) app: Error: [$injector:modulerr] Failed to instantiate module myAppName due to: $compileProvider.preAssignBindingsEnabled is not a…
NateH06
  • 3,154
  • 7
  • 32
  • 56
4
votes
1 answer

Why angular.bootstrap code not working with versions before AngularJS V1.6?

My problem is that when i include the URL:http://code.angularjs.org/snapshot/angular.js in the below