Skip to main content

All Questions

0 votes
3 answers
107 views

AngularJS: Selected Id is not passed to the Service

To edit the user information ,when I change the role of user and submit the form, the old "id" is passed to the service, however when I change the role ,it shows the id is changed (I print it on the ...
Hamidreza's user avatar
0 votes
1 answer
349 views

ng-src not working with video tag in angularjs

<span ng-repeat="x in pics.files"> <video ng-src="img/gallery_vid/{{x}}" height="200px" width="200px" class="mt-2" controls> </video> </span> ng-src not working ...
atomty's user avatar
  • 187
0 votes
2 answers
55 views

Cannot use UI router, shows error for ui-view , ui-sref

I cannot use UI router, I injected it. but it doesn't seem to work. Here is the code's screenshot.
Amaan Imtiyaz's user avatar
0 votes
2 answers
259 views

AngularJS - ui-routing with ng-click not working properly

I'm using ui-router for creating some routes and I'm getting this very weird thing happening. I have this route config .state('chapter_route', { url: '/book/:chap', templateUrl: "views/...
N.Car's user avatar
  • 492
0 votes
1 answer
44 views

Pulling list item data through to a new view created by the scope data

Although there are a few of these questions rocking about, none of them seem to have a good working example and i cant seem to figure out how to apply it to my project. What i want to do is pull the ...
DBoi's user avatar
  • 687
0 votes
0 answers
525 views

ng-repeat with one parent list object and multiple child lists objects

Edit question : Please follow this link in this first add mark is for child row add and second add mark is for parent add. in this case when i tried to add first parent of child, the child of ...
chochu yada's user avatar
0 votes
1 answer
38 views

Conditional ng-repeat ui-router

I'm using ui router ($routeprovider and $locationprovider)for angular js. I want to change the array of which to loop through in a ng-repeat depending on the current url/route. I have read similar ...
andrea's user avatar
  • 103
0 votes
2 answers
25 views

Angularjs way, conditionally to generate new form and append it to the page or state change

i am new to angularjs, and wonder What is the angularjs way to complete such a task as conditionally generating or showing the form ? Lets say $scope.counter = function(){ if ($scope.years < ...
Beny's user avatar
  • 165
0 votes
0 answers
146 views

separate angular modal scope from $rootscope to avoid triggering digest when editing a single item

I have a pretty complex app for collaborative and interactive database creation and have run into performance issues. The app uses ui-router with various nested views... The states look like this: $...
Andre Ling's user avatar
1 vote
1 answer
45 views

Not displaying my wines with services

I have run into a problem with my Angular Wine App. The problem is that I have had everything work in a single controller, now I want to split them up and I have done so, but my data will not be ...
Soren Sindgart's user avatar
0 votes
1 answer
971 views

ui-sref include parameter in ng-repeat loop

I have this table: <table class="table tenant-table text-center"> <thead> <tr> <th class="text-center"> ...
Laziale's user avatar
  • 8,245
0 votes
1 answer
262 views

Angular ngRepeat increase $index and render view accordingly.

Consider that I've got two views, view1 and view2. I am getting an array from an API in View1. From there, I am trying to go to view2 and dynamically render view2 for as many times as there are ...
SarthakBatra's user avatar
1 vote
1 answer
378 views

angular ui-sref inside nested ng-repeats

I`m having trouble at the time of listing some elements inside ng-repeat directives while i attach them the ui-sref attribute. Have tried to do it using ng-click and $state.go inside controller but ...
Rick GZ's user avatar
  • 135
2 votes
1 answer
851 views

Angular $scope not binding to view after update, navigation and $scope.$apply()

I have a database holding a list. I have a form which adds a row to the database list via a factory. Once the row is added, the server sends back the updated list. Using the $q.defer().promise ...
dewd's user avatar
  • 4,429
0 votes
0 answers
1k views

Using href Within ng-repeat

I am using AngularFire and Firebase to store objects which contain a title and a url. I call the object list. I want to: ng-repeat through my array of objects. Use the list.url to download the URL's ...
Jacob's user avatar
  • 1,578

15 30 50 per page
1
2 3 4 5