0
votes
0answers
29 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: $...
0
votes
1answer
16 views

What happens with a table in a ui-view when the ui-view changed state?

I have a ui-view inside a bootstrap Nav Tabs: <div class="container-fluid"> <ul class="nav nav-tabs"> <li ng-class="{ active: isActive('/product/list') }">&...
1
vote
1answer
22 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 ...
0
votes
1answer
117 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"> ...
0
votes
1answer
46 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 ...
1
vote
1answer
71 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 ...
0
votes
0answers
138 views

Issue with window.onbeforeunload (Refresh and close window) Unsaved data Angularjs

I used this code to give alert while navigating after unsaved form. StateChangeStart and LocationChangeStart are working for back button and while navigating to other pages but window.onbeforeunload ...
1
vote
1answer
208 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 ...
0
votes
0answers
487 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 ...
1
vote
1answer
53 views

Angular UI Router- insert param in url

Working on a project where I am required to show url link and render data based on the param/id I pass in my url. In the following link AWS is the id. link: http://link.com/Inventory/ListInventory/...
0
votes
0answers
22 views

sorting is not working in angularjs when i click on first column

when i try to sort the data while clicking on column header, data is not sorting when i click in first column header, the data is sorting only for first two columns, could anybody knows where is am ...
0
votes
0answers
155 views

AngularJs: form initialization in ng-init

Here am initializing form with model object. ng-init="object.form = jobfileForm" But i dont want to to implement like this cos it executes only once when controller loads. What are the other ways to ...
-1
votes
1answer
48 views

jquery value into AngularJS

<script> var app = angular.module('myApp', []); app.controller('DemoCtrl',["$scope", function($scope) { var custom=$("#<portlet:namespace/>customInterview").val(...
2
votes
1answer
286 views

Angular JS app takes 3 minutes to load on Internet Explorer browser

Background: I have built a tool using angularjs. The user is able to view a dynamic page based on the data. The page can be really long with lots of various types of fields within it. There are many ...
0
votes
0answers
250 views

Angular ngRepeat Not Updating After State Change

Here is my issue, I have an angular app which displays users using $scope.users and <tr ng-repeat="user in users" >. I use a sort service I built to manage how the users are sorted. The ...
1
vote
1answer
120 views

Why $http response data are not shown in angular js?

I make a example of directive in angular js .I am using this directive https://github.com/ONE-LOGIC/ngFlowchart when I take static data ..it show the output please check my plunker http://plnkr.co/...
0
votes
1answer
88 views

Why is my directive not showing the correct output?

I am using this directive in angular: https://github.com/codecapers/AngularJS-FlowChart And description: http://www.codeproject.com/Articles/709340/Implementing-a-Flowchart-with-SVG-and-AngularJS ...
0
votes
1answer
52 views

why click event not show alert in angular js library?

I make a simple demo in which I make custom cell of table like that { field: 'id', name: '', enableColumnMenu: false, cellTemplate: 'edit-button.html'...
1
vote
1answer
311 views

Pushing to an array does not update view list via ng-repeat directive

I have a simple ng-repeat directive implemented in my index.html <div ng-repeat="item in itemCollection"> {{item.name}} {{item.date}} ... </div> Im trying to add a new item ...
0
votes
2answers
144 views

how to change the header text of table in angular?

I am trying to learn Ui-grid from this link http://ui-grid.info/docs/#/tutorial/101_intro. I make a simple example of ui-grid in plunker..Actually the table header takes first object property name ....
3
votes
1answer
194 views

Unable to interpolate an array which is inside of an object property

This is just a Sample Code this is my .js file SCPApp .directive('scocurepeater', ['$sce', '$compile', '$timeout','$interpolate', function ($sce, $compile, $timeout, $interpolate) { ...
0
votes
1answer
117 views

run $formatters each time model value changes

I am using the $formatters property to do masking of text box, where user can enter account number.The text box while typing should show * instead of actual account number. But using $formatters is ...
1
vote
1answer
53 views

Why is my ng-repeat directive creating an invalid HTTP request?

Using Anguar UI-Router, I have the following state configured: angular.module('foos').config(['$stateProvider', function($stateProvider) { $stateProvider. state('seeFoos', { url: '/...
0
votes
2answers
699 views

Dynamic view names based on the parameters returned while calling the state

I am using Kendo tabstrip with angular ng-repeat and ui-router. Now the tabstrip can have different combination and different number of tabs based on the input. I am able to give different ui-sref and ...
1
vote
1answer
54 views

toggle extra detail for a record inside an ngRepeat

I'm working on a project where the client has supplied a pile of html where I need to plugin the data from our database and have hit a problem that I'm finding difficult to solve.... So first problem ...
0
votes
2answers
3k views

problems with ng-repeat using tabs

I've been problems when use a link inside tabs, that change the view and replace the tabs as well. The problem only occurs when use ng-repeat in tabs but no with static tabs. That's the main page: &...
0
votes
1answer
225 views

come to the same position on going back with infinite scrolling angularjs

I want to implement a functionality in angularjs application wherein on clicking the back button, i come back to the same position. i fond an answer of this in js in this question but not working in ...
0
votes
0answers
129 views

angularjs cannot read ng-repeat bind data - undefined

angularjs is boss but i'm not yet completely savy with it. One issue i'm having is this; basically i want the ng-repeat ng-model binding to be available to me inside a function within the view ...
1
vote
1answer
1k views

TypeError: Cannot read property 'hash' of undefined

I am facing an error while i am trying to call the following angularjs method with id and $event as parameter $scope.gotoLink = function(id, $event) { $event.preventDefault(); ...
0
votes
1answer
63 views

Angularjs : view not refreshing after second and more visit of the page

I am new for angularjs and coffeescript.I have one problem in refreshing views. This is the scenario : I have two types of pages : List of mixed vehicle listed. On this page I have option "add to ...
0
votes
1answer
192 views

Angular UI Router with ng-enter-stagger

I hope someone can help me I have been stuck on this for a while. I have a simple jsfiddle here: http://jsfiddle.net/mcneela86/aodsux3p/ Which is using the ng-enter-stagger class to stagger the ...
0
votes
2answers
823 views

AngularJS & $stateParams to display item detail page

I apologize if this has been answered somewhere else, but I cannot seem to get my mind wrapped around this and after hours of banging my head, its time to post. I have a simple list of items coming ...
1
vote
1answer
82 views

AngularJS and orderBy from Parse data displaying list in an array type format

I am helping a friend build his app in AngularJS and we're using Parse.com as the backend. I've wired in part of the app to pull from Parse using REST so we can display their Brokers on the 'Find a ...
0
votes
1answer
320 views

How can I pull data (JSON) from a clicked ng-repeat item to load a new, item specific page using $stateParams and ui-router?

This question is similar to what I am asking and I have already implemented some of the code from that. I'm using UI-Router instead, but my main issue is with the $http request and passing the data ...
0
votes
2answers
116 views

UI-Router for item list Angularjs

I'm facing some problems with my simple code (study), i really need some help to fix this. First of all i have a php file who provides a json. app.php <?php $dbh = new PDO('mysql:host=localhost;...
-2
votes
1answer
533 views

set Value in text box depends to another text box using AngularJS

Suppose I have label which text show total amount and two extra text box first one for discount in percentage and and second one for discount after percentage calculation. User free to enter both if ...
0
votes
1answer
98 views

columns with ng-repeat in ionic are not separating into rows

The main problems I am experiencing are solely related to my code's inability to display the badges in multiple rows of 3 columns without repeating the same badges in each row. Even though I identify ...
1
vote
1answer
32 views

ngRepeat in ui router

i have a dynamic form that is generated from a json and my ngRepeat looks like this: <div ng-repeat="(q, w) in user.education"> <div class="form-...
2
votes
1answer
259 views

How to append Urls in angular routing?

How to do url(string) cocatenation in angular routing. Please refer the below snippet to understand my question. app.config(['$routeProvider', '$location'], function($routeProvider) { when('/'...
0
votes
2answers
234 views

how to display sorted data from complete object in angular js?

I am trying to make demo of sorted data and display on table.Actually In my demo I am hitting a service got some data (2000) objects in that as a response.So I am display 50 objects at one time and ...
2
votes
2answers
2k views

how to get event when user scroll to top in angular js?

could you please tell me how to get event when user scroll to top .Actually I am using ng-repeat in my example .I want to get event when user scroll to bottom and scroll to top .I have one div in ...
0
votes
1answer
162 views

Select some data and then persist to next controller/view in Angularjs

I am bringing in some simple data via a service that uses angular-resource like so: angular.module('InvoiceService', ['ngResource']) .factory('InvoiceService', function ($resource) { ...
0
votes
2answers
622 views

How to make custom directive in angular-js?

Could anybody please tell me how to make custom directive in angular js .I am trying to make autocomplete using jquery-autocomplete in angular-js. In jQuery it is display like this http://jsfiddle....
1
vote
1answer
5k views

AngularJS ng-repeat not working

I have a very simple AngularJS application where I am trying to display a list of records. My main index.html code is: <div id="employeeApp" ng-app='employeeApp' ng-controller='EmployeeController'...
2
votes
0answers
234 views

AngularJS ng-repeat not rendering $resource

I'm working on an Angular app that includes a user feed page, one of the items on the feed is a list of groups that the user belongs to. The groups are pulled from the backend through a $resource ...
0
votes
1answer
700 views

controller is undefined error (already defined in javascript file)

Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to: Error: [$injector:modulerr] Failed to instantiate module app.Firstpage due to: ReferenceError: loginController is not ...
0
votes
0answers
641 views

Open separate page as modal pop up in angular js

I use angular-ui-router and angular-bootstrap in my project. I want to implement follow use case: When user click on icon in ng-grid, I want to open separate page as a modal pop up Also I want to ...
0
votes
0answers
1k views

Ionic $stateParams not defined error

i am a starter with ionic and angular, when following the master-detail navigation practice, i found out that the $stateParams is not working properly, when navigate to the details page, it seems the ...
0
votes
1answer
2k views

Angularjs / Ui-router : how to make ng-repeat list items link to a .html page?

I'm building my first angularjs app, for my routing i use ui-router wich works great! I want to achieve the following: in my app the user can search for a name/place etc. in a input field i got this ...
0
votes
0answers
73 views

View per model/scope object - ui-router / angularjs

Is it possible to have a view per model , ie an edit view for an item, and only that view to be shown for this specific model? I have a list of tasks, like a todo list. When I click an add button I ...