AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Whatever(MV*) capability and reduce the amount of JavaScript needed to make web applications functional. These types of apps are also frequently known as Single-Page Applications.

learn more… | top users | synonyms (2)

0
votes
0answers
12 views

Updating Repeat Items Index

I have a collection of items which I am displaying in my view using ng-repeat. I also have two buttons, one to move the item to the left, and the other to move the item to the right. View <div ...
0
votes
0answers
6 views

Is autostarting videogular videos/sounds on Android possible?

When I use plain html5 video/audio on Android, I have my user click a button on startup. In the click handler I kickstart all media: $('.viewaud').each(function(i,el){ el.load(); ...
1
vote
4answers
18 views

how to restrict decimal upto 2 digits only in angularjs

im doing some math operations using angular js . while calculating percentage/vat price showing - 0.35000000000000003 like this . i need 0.35. 0.35000000000000003. how to trim decimals after 2 ...
0
votes
2answers
19 views

Angularjs: change input type

I have a list which sometimes has true or false value. When I'm using ng-repeat to show the list with the value inside an <input type="text"> , I'd like to have <input type="checkbox"> if ...
0
votes
0answers
6 views

Cloudzoom not working in sails application

I am working on sails application in which i am using cloudzoom (jquery) for magnifying images. For this i am adding 3 files jquery, cloudzoom.js, cloudzoom.css. I am prioritizing the jquery load ...
0
votes
1answer
15 views

I am new to laravel and angularjs. would like some help on how to go about this. The country object is not displayed

angular controller function var loadTables = function(){ tableService.all(1,20) .success(function(response){ console.log(response); ...
0
votes
2answers
23 views

Do Angular Expressions in view templates slow down angular app performance

My app seems to have views with a lot of logic in them. My question is two fold: Does logic in the view slow down angular app performance? As a best practice, is it better to treat this logic in ...
0
votes
0answers
7 views

$ionicScrollDelegate not working in ion-side-menu ionic

i am trying to have side ="left" but it did not work i am not sure were i have make mistake here is my html <body ng-app="starter"> <div ng-controller="mainCtrl"> ...
0
votes
0answers
10 views

Material Design Lite - Change icon dynamically

I have the following problem (I tried to create a Jfiddle and such, but I was unable to get it working.) First the controller: pwm.controller('PwmImageController', ['$scope', function ($scope) { ...
0
votes
0answers
6 views

Change iframe google map url on click

I have to embed an iframe that will show me the google map after selected dropdown according to the latitiude and longitude .but when i bind that this error is coming url Refused to display ...
1
vote
0answers
12 views

Umbraco MemberService GetAll method and return the data to angular js call

I am trying to fetch all the member using Memberservice as below public GetAllmembers() { int totalRecords; var Members = ApplicationContext.Current.Services.MemberService.GetAll(0, ...
0
votes
1answer
22 views

how to call the directive with different templateurl and conroller from another controller function?

I am completely new to AngularJS. I am having the below HTML code <div id="products" ng-contoller="productController" listProducts></div> This will execute when angular js runs and I ...
0
votes
2answers
27 views

how to use ng-if condition with strings?

i have a response coming form webservice as "No Attachments found" and "attachment found". i want to show 2 different images on a page one on no attachment found case and another on attachment found ...
0
votes
4answers
35 views

ng-if on ng-repeat that calls a function

I have a plunker: https://plnkr.co/edit/OlLt9XC6cWYnus20ZEaz?p=preview I have an ng-repeat, that calls a function and gets the result of .outcome, which and either be true or false. However, if these ...
0
votes
1answer
10 views

Angularjs 1.x and Typescript and post value to server

I am trying to post header values to the server but values not embedded in request header thats why its give me wrong answer. I know, I am doing something wrong but I can't figure out it. Below is my ...
1
vote
0answers
13 views

How to serve angular app with grunt?

I am an angular newbie and trying to run grunt with angular. My grunt file looks like this, which plugin or module do I need to add to serve an angular app? I tried grunt-contrib-watch: ...
0
votes
1answer
21 views

Display certain page only after login in angularjs

How to display menus list only when the user is logged in to the site.But as of now the user is able to see the menu by giving direct URL.If the user is logged in then only he can be able to see the ...
0
votes
2answers
29 views

What is the difference between knockout.js and angular.js?

What is the difference between knockout.js and angular.js? List down the features of knockout.js and angular.js?
0
votes
2answers
45 views

how to call only last promise from loop

I am new in promises,can any body help here promise is resolving randomly,how to resolve last promise from loop when full loop execute here suppose this.selectedValues has 4 values but some time it ...
0
votes
0answers
28 views

How to get the id of elements inside ng-include

I'm triying to follow the John Papa Style Guide and in one template I have 2 ng-includes, one for a sidenav and another one to the content. In the controller I want to get the id of one item inside ...
0
votes
0answers
8 views

How to access custom Token header added in Asp.Net Web Api response from Angular JS application?

//My login method is as follows, which takes credentials and validates them against a db table entries [HttpPost] [Route("api/login")] public IHttpActionResult ...
-1
votes
0answers
11 views

How to use grid in Angular Js repeater and filtration process?

http://www.profileevaluator.com/List-Of-Universities This is the format and exact data which i need. Can anyone suggest the code?
0
votes
0answers
9 views

Can't Login with spring security rest and angualrjs

i am stuck in rest spring security and AngularJS my spring boot parent version is 1.3.3.RELEASE. my problem is when i send authentication request to spring security on "/login" spring security return ...
1
vote
2answers
35 views

Cannot convert source type to System.Nullable<double>

Here's my script: public PlainBrgDataSummaryComplete SummaryComputationPerTransSQLite(long ProgramID) { PlainBrgDataSummaryComplete result = new PlainBrgDataSummaryComplete(); DataSet ...
4
votes
3answers
26 views

Pass a dynamic value to a function in angular with ng-click

I'm trying to use a link to dynamically translate a website. This is my HTML: <a ng-click="switchLanguage('{{language.value}}')" >Translate</a> {{language.value}} is a dynamic value ...
0
votes
0answers
8 views

Using Facebook OAuth on a cordova phonegap angularjs app with C# web-api

pretty new to stackoverflow so thanks for bearing with me. Basically what I'm trying to do is get Facebook OAuth working within my cordova app with my backend running on webapi (c#) I have already ...
-1
votes
0answers
17 views

Convert Javascript code of canvas into angular Js code

I am looking for converting a javascript code of changing image size into an angular js code. Here is my code. var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); img = ...
2
votes
0answers
20 views

Web Api 2-Specified cast is not valid

Whenever I put case in my query it gives an error of "Specified cast is not valid" in linq to sql C# but Its working fine in Sql server 2008. Below query iam using select ...
0
votes
0answers
9 views

Dynamic nested view in ionic + angular

I am trying to implement a dynamic template inside an ionic + angular project. The project has tabs and inside one of the tab views I would like to insert another view depending on the selection in ...
-1
votes
3answers
36 views

Convert date string?

Convert the following date object , which is in string form to normal date format, in controller side. {"FromDate": "Wed Jan 02 2016 10:56:45 GMT+0530 (India Standard Time)"}
0
votes
0answers
26 views

Angular js http:// post

I want to post my params to this link: http://ec2-52-10-9-236.us-west-2.compute.amazonaws.com:8080/buildwhiz-1.01/baf/loginpost HTML <div class="container" ...
0
votes
0answers
27 views

How to find the latitude and longitude using geolocation

I use ionic framework and I am in search for my current location I do not need map to display I just need to display latitude and longitude of my current location in console.log. var posOptions = ...
0
votes
0answers
24 views

This Audio recording is not working in chrome but works fine in mozilla

I have written this piece of code to record a audio in the browser and then upload it to the server. this is working fine with Mozilla Firefox but not on Google Chrome I have done some research and ...
0
votes
1answer
10 views

json objects from registry.nodejs.org shows error

how can i use jsonP to get all the NPM packages that contain a keyword. I used https://registry.npmjs.org/-/_view/byKeyword?startkey=["Keyword"]&&endkey=["keyword",{}]&group_level=3 and ...
1
vote
2answers
45 views

Problems with Angular button

I'm creating my first Angular app and ran into a couple things that I just can't figure out. Whenever I include this: <button ng-hide="results.length === projects.length" ng-click="limit = limit ...
0
votes
1answer
16 views

Passing value from service into directive

Trying to figure out how to pass a value in service from one direction to another? I'm building a small search app using Elasticsearch and AngularJS. It has 2 pages, home and results. On home, only ...
1
vote
0answers
38 views

HTML DOM Using AngularJS Ng-if Function

I would like to ask about how to make DOM using angularjs but without any page reloading, so here is the code <div class="container-customscroll"> <div class="content ...
-1
votes
1answer
14 views

How to use bootstrap grid in angularjs using li and ul tag

<script> angular.module('myApp', []).controller('namesCtrl', function($scope) { $scope.names = [ {name:'Jani',country:'Norway'}, {name:'Carl',country:'Sweden'}, ...
0
votes
0answers
11 views

Html file is not linking to newly versioned file in grunt

I have versioned file using grunt-filerev and used cssmin and uglify to minify my css and js files. Below is my code grunt.initConfig({ clean: { dist: [ ...
0
votes
1answer
16 views

AngularJS modify $scope inside interceptor

How can i modify a $scope variable inside an interceptor? var portal = angular.module('portal', ['ngResource', 'ui.utils', 'ngRoute']).config(function($httpProvider) { ...
0
votes
0answers
5 views

Why isn't ocLazyLoader injecting JavaScript into AngularJS state provider templates?

thanks for taking a look at my question. I'm having trouble with resolving JavaScript after a controller resolve using ocLazyLoader. I keep getting the error 'Cannot set property 'innerHTML' of ...
0
votes
0answers
13 views

creating month table and mark data as per date in it

I want to AngularJS. I have JSON array object vm.GridList which carries details of person (stdId) and his attendance (att) and attendance Date (attdate). I want to display on HTML as below. ...
0
votes
1answer
9 views

Select a particular option in Protractor

I'm a new born QA and I'm trying here to write a Protractor script to select an option from a dropdown. There are 2 options in my dropdown and I'm trying to select it from number. Here is the code ...
0
votes
1answer
16 views

AngularJS ui-grid hide all the rows

I am using ui-grid i just want header to be visible and all the rows will be hidden. Can someone guide how to make this change ? For the same i have created jsfiddle currently the css is below, i ...
0
votes
1answer
26 views

Unable to understand angulajs dependency error

I am trying to implement a custom filter. I am getting a dependency error from angularjs. Please help me to resolve this. Below is my code... angular.module('Test', []) ...
6
votes
2answers
32 views

Promise chaining when using $timeout

I'm trying to understand the promise API and chaining, particularly the timing when $timeoutis used with .then(). What I had expected from the following is that since $timeout returns a promise, ...
1
vote
1answer
11 views

Moving tabs within tab in Ionic

I have Tabs within Tabs in my Ionic App. How can I move within the child tabs? This is my hierarchy of Tab 1 Tab A Tab B Tab 2 Tab 3 If i am in Tab A (within Tab 1), how can I move to Tab B ...
0
votes
2answers
38 views

How do you send html form data using the action attribute without redirecting to another page?

I'm using Angular and Plaid. I want to submit the following form, which posts the public_token to /authenticate using the 'action' attribute in the html form. How do I post the public_token to my ...
0
votes
1answer
13 views

Ionic ng-click calls same Modal in <input type='button'>

<label class="item item-input"> <span class="input-label" id="depTime">Time</span> <input type="button" value="{{query.depTime}}" ng-click="openModal(2)" ...
1
vote
1answer
17 views

How can I fix this httpProvider Error?

.factory("search", ["$http", function($http) { var searchResult = {}; return { searchResults: function(searchQuery){ return $http.post("http://crazybacyn.pythonanywhere.com/search", ...