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
2 views

Angular/Foundation - ng-view inside off-canvas-wrap

I am having a basic problem, it seems. The code is pretty simple: <body ng-app="myApp"> <div class="off-canvas-wrap" data-offcanvas> <div class="inner-wrap"> <!-- ...
0
votes
0answers
4 views

angular ng-model not working as expected

I have an issue with the below content. I have a modal popup which looks as follows: <div ng-controller="SamplesQueryController"> <button ng-click="toggleModal()" class="btn ...
0
votes
0answers
7 views

AngularJS post error - data is null & status is 0

I am trying to get a AngularJS app to send a login request to my api. When I do so it returns an error reporting status: 0 and data:null. I can send the exact same data using my HTTP client (postman) ...
0
votes
0answers
11 views

Angular JS scope.watch not working

I have the following setup to watch an element and do something when it changes. This cod is inside a custom directive - the fiddle is here: https://jsfiddle.net/akcz3569/ with the full example: ...
0
votes
0answers
2 views

ngTagsInput - only allow selection of autocomplete suggestions?

If you are pulling from a source of [{text: 'a'}, {text: 'ab'}, {text: 'abc'}] and user enters in 'abcd', how do you prevent user from creating an 'abcd' tag?
0
votes
0answers
8 views

Wordpress + Angularjs: ng-app doesn't work when has value

I'm making a website with Wordpress and I'd like to use Angularjs. I've followed this manual, but I've some problem with ng-app. This is my simple page that works well <!DOCTYPE html> ...
0
votes
0answers
14 views

Storing object expressions that continuously evaluate in Angular

Hi All I ran into a bit of an unexpected issue today when building a prototype e-commerce site. Specifically, I have a method that is set to take user input and apply a discount based on: 1). ...
1
vote
0answers
6 views

Define a Resource Action That Doesn't Serialize the Object

Given a simple API: GET /photos Response: [ { id: 1, url: "...", loved: true, saved: true }, { id: 2, url: "...", loved: true, saved: true }, ... ] POST /photos/:id/love {} Response: { ...
-2
votes
0answers
20 views

How to display info from two .json files in Angular

I'm looking for an answer how to use two different .json files to create one solid table in Angular So my problem is: I've got a .json file with pizzas for example: { id: 1, name: ...
0
votes
0answers
5 views

Token base authentication url is not returning response

I am new to AngularJS and Single Page Application in ASP.NET MVC. I am using Web API as service and token based authentication for login. When I am calling authentication URL as below, it is not ...
4
votes
1answer
39 views

Iterate through array with inner arrays and create new objects - AngularJS

I have an object that I fetch from my REST API... I want to loop through the array and create objects/arrays from it This is the array; orderItem contains menu_modifier_groups which contain ...
0
votes
1answer
13 views

File pathing issue with gulp and scripts

So I have successfully setup my gulpfile.js to handle copying files to a 'dist' folder to then move over to my windows server, but am curious on how I can deal with file pathing? So my gulp looks ...
0
votes
1answer
23 views

ng-options inside ng-repeat - can't access selected item in $scope

I want to do the following: I have an array of all possible items 'all'. I want to create a subset of that array in 'subset': js.js: var app = angular.module('myApp', []); ...
1
vote
0answers
11 views

How to execute a function only when clicking outside of a div when the function requires a key value from ng-repeat?

I have a div with an input inside. Something similar to this: <div ng-repeat="(key, value) in someJSON"> <div> Some content </div> <form> <input ...
2
votes
0answers
12 views

Angular UI Router named views using templateProvider

I have an application with two different tiers of functionality. Instead of constantly checking tiers within controllers, I have places where the functionality differs so wildly that I just have two ...

15 30 50 per page