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
0
votes
4 answers

ng-repeat is not working in AngularJS 1.6

I'm new to AngularJS, I'm using the version 1.6 and I'm getting my info from my database, it is working but when I want to access to the JSON info is not displaying data. This is my code
{{ autos |json }}
Fixer
  • 175
  • 1
  • 2
  • 16
0
votes
1 answer

angularjs component dynamic filter

If the name of the filter is static, you can just inject the name of the filter with "Filter" appended to it into your component's controller function, like this: angular.module('ngApp').component('myComponent', { bindings: { …
bkinsey808
  • 2,669
  • 3
  • 16
  • 20
0
votes
2 answers

How to prevent state change in AngularJS 1.6 with ui-router 1.0?

How can we use $transitions to cancel a state change to prompt the user for saving? Previous ui-router versions used to have an event in the callback, and could be stopped with event.preventDefault(), but this event seems to have disappeared. I'm…
0
votes
4 answers

How to display data in HTML from http get call using angularJS 1.6

I am able to console the result of the http call but when I bind it so that I can view on the html page I am unable to do it. Can someone help me with this? I am posting the controller code and the html below. Controller code //module …
0
votes
0 answers

I want to enable intellisense for angular 1.6 in VS code . Getting error while installing angular with typings

I am getting the following error. typings install dt~angular --global typings ERR! message Attempted to compile "angular" as a global module, but it l ooks like an external module. You'll need to remove the global option to continu e. typings …
0
votes
1 answer

Intercomponent Communication

I work with Angular 1.6. I have component "user-details", which contains two other components "switcher" and "user-table"like this: "switcher" component…
0
votes
2 answers

Not able to load template using ng-view in angularJs

I am trying to build a basic SPA using angularJS, the problem is I am not able to load the template using angularJS, the following is my code customAngular.js var app = angular.module("appModule", ["ngRoute"]); app.config([function…
Lijin Durairaj
  • 653
  • 1
  • 6
  • 9
0
votes
3 answers

AngularJS 1.6 Routing

I'm setting up my routing for a AngularJS v1.6 app, but I am running into a slight problem. I am getting the following error, and I can't seem to figure out what is wrong. I hope you guys can shed some light into my error. Uncaught Error:…
ClarkySmiverz77
  • 203
  • 1
  • 4
  • 13
0
votes
1 answer

angular 1.6 unable to show scope value in template

I have index.html Previous
I assigned some values to $scope.errorMsg in registerController so changed Changed to …
user269867
  • 3,266
  • 9
  • 45
  • 65
0
votes
1 answer

AngularJS 1.6.1 form and ngInclude

Angular 1.6.1 breaks ngInclude in my project. I use ui-bootstrap 0.14 for the tabs.
0
votes
1 answer

Do not cache or read cache | AngularJS 1.6 | Bootstrap 3.3

I have a modal Bootstrap, inside a call is made $http with Angular. But only when loading the page goes to the server and retrieves the data, the question is: Is it possible to make the call to "http" every time the Bootstrap Modal is opened? var…
0
votes
0 answers

Angular (1.6.x) routing into chrome to address location

I'm trying to do a simple work in partial view by ng-view.It has four anchor link like sweden, denmark, norway... If I click one of them then it will show partial page on the index page.But it doesn't work.The browser address location shows…
0
votes
0 answers

Periodical tasks in AngularJS

AngularJS 1.6, Node.js 6.2.1, MongoDB 2.6.10 I have a playlist of music. There are approximately 200 tracks. The playlist plays one track after another while my web page is open and then starts with the first track when the last one is ended. Now I…
srgbnd
  • 5,404
  • 9
  • 44
  • 80
0
votes
1 answer

Install Definitely Typed Angular from Visual Studio NuGet, getting repeated errors "Duplicate Identifiers"

I have installed the angularjs, and Definitely Typed Angular from the NuGet packages on Visual Studio. This all installed fine, with no errors. However whenever I start to try to write to a TS file, I get angular errors throughout the d.ts…
0
votes
1 answer

Directive's passing parameter undefined while updating 1.5.x to 1.6 Angular

I have just updated the Angular 1.5.9 to 1.6.0. All merging things done in my project, but directive parameter which is passed as argument is not getting value in directive controller. As I find undefined after updating. Please give some suggestion,…
Anavar Bharmal
  • 329
  • 2
  • 7
  • 19
1 2 3
10
11