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. The ...

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Warning: Required path doesn't exist: C:\Pyth on\Python35-32\tagmatic-master\grunt-tasks\tasks/../../lib/ Used --force, contin uing

hello please suggest something to solve this error..I am trying to build a project with grunt command when i encounter this error. Do i have to install some grunt plugins or is it some issue with the ...
0
votes
0answers
6 views

ui-router: named views (multiple) views, keeping everything decoupled?

I have just started out with ui-router and I am creating components (angular 1.5) and using the new component method explained here, although it shouldn't matter - ...
0
votes
0answers
8 views

TypeError: Assignment to read-only properties is not allowed in strict mode

Getting TypeError: Assignment to read-only properties is not allowed in strict mode while exporting data in excel sheet in internet explorer but no problem in chrome. Getting error on : link.style = ...
0
votes
1answer
13 views

Why one DOM element owns two scopes?

Here are two directives: 1. aDirective that creates a new isolated scope; 2. bDirective does not create a new scope app.directive('aDirective', [function () { return { restrict: ...
0
votes
0answers
13 views

Ionic retrieving JSON data

I have the following JSON and I am having issues in retrieving the data and displaying it in IONIC. Can someone provide me some guidance ? JSON mynews_JsonCallBack({ "items":[ {"headline":"Cat", ...
0
votes
0answers
13 views

Using cookies to remember page

I'm creating an Angular app and for one Admin page I have three directives which I load ng-show based on the user-selected page. I decided not to use routing because it's cool to have a single Admin ...
-1
votes
2answers
27 views

Get Button Value when click in Angularjs

My question Related to this Question at ng-repeat values with 3 columns in table? - AngularJS Then my Question is How to Get the Value of that button on click. ? Here is My Problem <input ...
0
votes
0answers
22 views

Why does ng-repeat (sometimes) throw the Error: An invalid or illegal string was specified?

I get the following error when using ng-repeat: Error: An invalid or illegal string was specified getAll@http://localhost:3100/js/script.03cf0a31.js:4283:5 ...
0
votes
0answers
13 views

Reload one controller from another controller Anjular js

I am new to Angular js.I have seen the similar question, but I dont understand that. I have 2 controllers userControllers .controller('RatingCtrl', function($scope,$http,$rootScope,$route) ...
0
votes
0answers
14 views

The scroll event of directive cannot attached?

I have the following html code. I try to change the background color of ion-nav-bar when scroll the content in ion-nav-view. </head> <body ng-app="app" animation="slide-left-right-ios7"> ...
0
votes
0answers
7 views

UI-Router : Pages & Posts routing are interfering

Home & Contact pages are working (awesome) $stateProvider .state('app', { abstract: true, templateUrl: app_info.dist_dir + 'main.html', ...
0
votes
0answers
18 views

Hide a column if its all fields are null in bootstrap-table?

I am using bootstrap table in my Angularjs application. We can hide a column by setting its visible property false but now I have to hide a column if all fields of that column are coming null. So can ...
0
votes
0answers
6 views

Backend and frontend versioning

Following Case: I wrote a Backend in asp.net Rest api and a Frontend in angular 2. People can now Download my Backend , Frontend and a database and they can Host it by their own . To avoid that ...
0
votes
0answers
8 views

AngularJS Filter in MattLewis Angular Bootstrap Calendar

I want to achieve a searching for event inside the MattLewis Angular Bootstrap Calendar from this https://github.com/mattlewis92/angular-bootstrap-calendar I already set up everything, the filters ...
0
votes
1answer
21 views

Consume Rest web service with AngularJS

This is my json data from my web service [{"cameraid":"ggh","timestamp":"2016/05/10 01:31","filename":"ffffpg"}, {"cameraid":"mason","timestamp":"2016/05/10 05:31","filename":"aaa.png"} My html ...
0
votes
3answers
41 views

How to clear $rootScope completely when my application gets signout

I used $rootScope and $scope inside many controllers and services.I have reffered many stack overflow answer for clearing all $scope and $rootScope values solution.But it doesnt work for me(solutions ...
0
votes
0answers
14 views

How to refresh JWT token after expired ( Angular 1.5 + Laravel 5.2)

What is the best and most secured way of using JWT token based authentication with Angular front-end and Laravel back-end (RESTful api)? Thanks in advance.
-1
votes
0answers
15 views

angular.toJson is typof string make it pure json

angular to JSON is typeof string. for a proper use of pouchDb I need to be pure json How to make it pure JSON? can you help me?
0
votes
0answers
6 views

nvd3 scatterplot with mulitbar

Multibar chartI need to implement scatterplot with multibar chart using nvd3 angular directive. I have used scatter with line chart but not able to get this thing to work, can i get any help? Or is ...
1
vote
1answer
41 views

Angular JS redirect after login

I have two controllers on the same page, one for login controller and the other controller. The first controller is bound to the path "/" and the second is bound to the path "/mypath". If the user is ...
0
votes
0answers
12 views

Saving upvote value to database (MEAN stack - reddit clone)

I have been working on a reddit clone from the thinkster.io tutorial, and I can not figure out how to save upvote values to the database. Could some one please take a look? // from angularApp.js ...
0
votes
2answers
20 views

Populate <dl> list from array

I am using angularJS and have a javascript array of objects, each object has Count ID Subject I would like to use this array to populate a with these values: ...
1
vote
1answer
24 views

Angular scope variables and plugins scope

I am trying to do several things, and with all of them I am facing the same problem. I want to access some angular variables inside other libs, for example: I have a directive, that does this: var ...
0
votes
2answers
21 views

Ho to create / instantiate AngularJs controllers on the fly?

I have a simple controller that works just fine: app.controller('IndexController', ['$scope', obj.indexPage]); var obj = {}; obj.indexPage = function ($scope) { // do controller stuff }; I also ...
0
votes
0answers
33 views

How I convert this jQuery function to AngularJS Directive?

I have this onclick="startTimer({{ $index }},{{ product.time }})" but for obviously reason the databindings doesn't render, so I have to use ng-clickfor rendering the values but ng-clickno working ...
-1
votes
1answer
38 views

AngularJs - Make a Call Nested ng-if on Json $http File

Well i have a problem and i would like to know if someone give me an advice. I want to call the child called File1 using ng-if. well i want to access inside file1's data. ang.js var app = ...
0
votes
0answers
10 views

How to serve dev version of angularapp in grunt?

I am trying to serve my angular app with grunt and express. Currently the serve task looks like this: module.exports = function(grunt) { grunt.registerTask('serve', function(target) { // ...
0
votes
0answers
11 views

Sending data to a server using post method in ionic

I am trying to send data to a server with a post method from an ionic development , the problem is I do not understand poque not work. Index <ion-view view-title="Guardar estudiante"> ...
0
votes
2answers
21 views

filter range currency using angularjs

i need help for angular filter range. i have problems how to create filter range min and max. this is my html <md-list flex md-virtual-repeat-container> ...
0
votes
1answer
18 views

Bootstrap angulsrjs with submenu link not working

im generating a menu from json file, everything generates fine but links without sub menu dont work when i click them. if i remove dropdown from li then main links work but dropdown dont thank you ...
0
votes
2answers
57 views

JavaScript move array element to end of array

EDIT - 2 elegant solutions Two elegant solutions, from Pranav and Bekim. Thanks, both tested and worked perfectly. One for(var x in data)data[x].name == "other" ? data.push( ...
0
votes
0answers
8 views

getting dependency error angular 2 App

{ "name": "angular2-quickstart", "version": "1.0.0", "scripts": { "start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ", "lite": "lite-server", ...
0
votes
0answers
20 views

How to access the angularjs page by domain name but not ip address?

I was learning and making an Angularjs page with using ui-router, I uploaded the page to the server, this page is on the url http://139.162.63.75/share_mobile_page/#/webservice/1, and the page was ...
0
votes
2answers
13 views

set selected item in select by name in controller of angularjs

I am working on angularjs , Where I need to set selected item by name in selected item. How DO i do that . I can set item by index but how do i do with itemname Eg : on load I am setting 1st item as ...
0
votes
0answers
14 views

Additional CRUD query in angular $resource

I am on django rest framework, till now i have implemented CRUD operations on both side, but there is an additional filter query that i want implemented. The back-end has been implemented using ...
0
votes
0answers
9 views

How to integrate google handout with Ionic framework

I have been trying to render Hangout button in Ionic framework app. Have referred following and am not able to render the button. Need help on how this can be resolved. ****Render button using ...
0
votes
0answers
21 views

AngularJS + Django Rest Framework - X-CSRFToken not being set as header

I currently have a Django Rest Framework backend running on a computer at home, and an AngularJS frontend, both on different ips. When I make a request to rest-auth/login, it returns a Set-Cookie ...
0
votes
2answers
24 views

Angular.js ng-repeat issue

I'm just starting out with Angular and I'm following CodeSchool's videos. The first part went smoothly, but when trying to replicate the "ng-repeat" part for an array, the html doesn't display the ...
0
votes
1answer
22 views

Can not run JavaScript config in ui-view

I have a demo use Angular UI Router: Here app.js: angular.module('app', ['ui.router']) .config(function( $stateProvider, $urlRouterProvider) { $urlRouterProvider.otherwise('/'); ...
0
votes
1answer
19 views

using $index to compare values returned by ng-repeat

I have an array object of size 2. I am doing ng-repeat on the array object and displaying the values. But now I want to also compare the values inside the object. Can i use $index for that ? I tried ...
0
votes
0answers
5 views

dir-paginate doubling same results after async call

My repeat is doubling after an async call (to a service that doens't shouldnt effect the repeat). Here is my code for the dir-paginate: <div ng-if="!loading" class="show-contain" ...
0
votes
1answer
8 views

Angular: Show one validation message for 2 fields (using ng-messages)

As you can see from the above screenshot, I have 2 fields (first name, last name). And I don't want to show 2 similar messages (This field is required) under each field. But I want to have only one ...
0
votes
1answer
10 views

Express Not Sending Client to View

I am trying to pull credentials from forms to check a database -- and when the check value comes back true, I want to send the client to another view. I am new to express, node, and angular -- so, I ...
0
votes
0answers
12 views

How to mock complex jQuery objects in Jasmine

I have mocked simple jquery objects by spying on $.fn and returning fake objects but when there are chained jquery function calls I cant find a way to easily mock it. vm.adviserGridOptions = { ...
0
votes
0answers
14 views

Showing div with ng-if changes size of md-card

So I have a page with two mdCards in a column and there is a div the bottom one that is toggled with a button. When the div is displayed, the height of the card that the div is in changes. I have ...
0
votes
0answers
6 views

Angular flow upload query cannot see directive scope

I have an angular directive that has a baby object in its scope, and the following HTML. Flow sends the upload when I add the file, as expected. The {{baby.id}} shows 1 on the page inside the ...
0
votes
0answers
11 views

symfony Post data through Angularjs

I'm trying to send ajax request with username and password through Angularjs to Symfony but the I can't access the post variables. Here is my code: HTML: <div> ...
0
votes
0answers
17 views

Google Maps custom info window

http://plnkr.co/edit/VcsNt1roifC0n64MgzrP }); var node=document.createElement('div'); node.innerHTML= '';//set chart URL self.infowindow.setOptions({content:node,map:self.map}); }; } Line 126: ...
0
votes
0answers
25 views

How can i display a deep nested objects in a table - AngularJs - Json

Hello Members from StackOverFlow, I'm new over here. I have a problem with my application, I'm using AngularJs and I have a http service, and i showed it in my console log (I think it doesn't even ...
0
votes
0answers
9 views

Multi select dropdown AngularJS - Options attribute unknown

Currently I am using select for dropdown. I would like to change this as multiselect dropdown. But when I declare the multiselect dropdown I am getting error saying "unknown attribute Options" The ...