Questions tagged [angular1.6]
144 questions
0
votes
0 answers
Angular Repeat - Complex HTML loop
I want to loop through this HTML structure
Each loop should add an image inside
Then repeat the outer elements again and continue.
I am finding it difficult to isolate the index and append the correct image in the sequence - I ahve tried modulus but…

Ian Warner
- 1,058
- 13
- 32
0
votes
1 answer
How can I create a component that takes in inputs but is used multiple times?
I have search list where a user can click on an item. The item gets added to a list. The list is a component in my app. The list component includes an input section where the user can input a price they want to set for that specific list item. When…

Sahil Hingorani
- 1
- 2
0
votes
1 answer
My page is breaking when url params contains '@' symbol in it in angular 1.6
I'm using angular 1.6, my page is breaking whenever the url params has '@' symbol in it.
For example,
www.stackoverflow.com?email=jon@gmail.com.
Not sure what is going on. It is encoding and working with all other symbols. I'm using…

rj7999
- 21
- 1
- 7
0
votes
1 answer
Angular Disable Animation
I am using an Angular Widget (http://alexsuleap.github.io/) and it has some animations. The widget itself does not have any option to disable the animation. But the widget is using angular-animate.min.js. Is it possible in some way to disable all…

Noor
- 19,638
- 38
- 136
- 254
0
votes
1 answer
Update variable in promise in Angular 1
I have an issue with a variable which is not being updated in the callback function of a promise as in the block of code below:
$scope.showSelected= function (node){
var promise =…

Noor
- 19,638
- 38
- 136
- 254
0
votes
1 answer
ng-repeat not working on Array of objects on directive
I have a directive which looks as follows. The variable testDataWithPlantNumberAsKey[plantnumber] is defined in the parent controller and has data in it. It is an array of Objects. It is printed by…

notnotundefined
- 3,493
- 3
- 30
- 39
0
votes
2 answers
Does kendo-ui work with Angular 1.6
Can Kendo-ui components be used in a project running AngularJS version 1.6 and is using typescript? Only information I could find on Kendo's website is about AngularJS version 2 and 4.

SoftEngi
- 407
- 4
- 14
0
votes
1 answer
Getting 404 error when Angular HTML5Mode is true
I have implemented pretty url in angular(switched to html5mode).
When I am refreshing the page I get 404 error.
For example: If I open my app using http://server/, everything works fine,but when I refersh the page or try open specific page ex…

Abhishek Shukla
- 646
- 1
- 8
- 21
0
votes
3 answers
How to use $broadcast with components?
I have an angular 1.x app that uses components, and I would like to be able to broadcast messages in all my components. The context is the following : I have a service that gets websocket messages and I want to broadcast them to all my component…

Moussa
- 4,066
- 7
- 32
- 49
0
votes
0 answers
How can I create two different app inside one angular project?
I am using angular 1 and I have two different apps with two different domains .. I want to put them on one angular project and make one form login for both of them ..some user can go to the first app and others can go to the other app depending on…

Dina Fouda
- 41
- 3
0
votes
1 answer
Angular 1.6 component binding
Thank you for watching my question.
So, I have an angular 1.6 component in 2 places, and when I change a variable on one of them I want to be changed in the second also.
Do you have an idea how can I accomplish that?
Regards,
Andrei

Andrei R. Beraru
- 25
- 1
- 7
0
votes
2 answers
I am stuck thanks to ng-submit not working, it won't run when I click on it
I am taking an online course, and I am stuck on an assignment. In my assignment, I have a form and a form button that runs code when you click on a button. However, my code does not run at all when I click on the submit button. Here is the nested…

MountainSlayer
- 291
- 1
- 5
- 14
0
votes
3 answers
Angular property underfined when validating with ng-minlength
In my angular controller I try to verify that the user inserted 5 characters, and if there are less than 5 characters a warning should be displayed. My controller:
var app = angular.module('myapp', ['ui.bootstrap']);
app.controller('FeedController',…

Sven van den Boogaart
- 11,833
- 21
- 86
- 169
0
votes
3 answers
How to reload async data into controller scope on route refresh?
I have a service function that I need to call each time a route is visited or refreshed. The function returns an Angular promise. The result of the promise needs to be loaded into the controller's scope each time the function is called.
I'm…

Johanna Belanger
- 121
- 2