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

metro-ui-css appbar not working with angular repeat

I want to use ng-repeat and set data-role for appbar of metro-ui-css. This code working, but menu is not compact. <div class="app-bar fixed-top" id = "mainmenu" data-role = "appbar"> ...
0
votes
0answers
16 views

what's the best IDE for running Angular JS? [on hold]

I am starting on Angular JS and want to execute a simple hello world program in angularjs,I am looking for guidance on if there is a need for an IDE in angularJS,if so,which one is the recommended IDE ...
0
votes
0answers
4 views

Conflict Validation on form.$error.required and form.$invalid

The case is, I am trying to create a datepicker field that detects if the input is an invalid date(The months and days validity is also included like 2015-02-30 is invalid because there is no February ...
0
votes
0answers
10 views

Angular Material - directive to tranform md-select array into bitwise-or value

<md-select multiple> by default returns an array. docs I want to bind it to a model, but the model's value should be actually bitwise-or the values of the array. So if I select 1,2,4, the ...
-2
votes
0answers
9 views

How to change .php extension from files in AngularJS and Laravel project?

I have created a web project using Laravel as the backend (Lumen REST API) and Angualr JS as the frontend. In the root folder, I created a folder name "Laravel" and put all the server files there and ...
0
votes
2answers
8 views

Using global variable (config.js) in angularjs module

angular.module('starter.services', []) .controller('Friends', function() { console.log(global); }) angular.module('starter.anotherServices', []) .factory('Friends', function() { console.log(global); ...
0
votes
0answers
4 views

$scope.$on('$viewContentLoaded',.. called twice and more times

For example, i have such simple snippet: var sampleApp = angular.module('sampleApp', []); sampleApp.config(['$routeProvider', function($routeProvider, $rootScope) { $routeProvider. ...
0
votes
0answers
3 views

How do you do slide animations between views when going to different routes?

The animation I am talking about is something like this: http://www.nganimate.org/angularjs/ng-switch/slider-css3-transition-animation Basically, I'm want the new route's view to be sliding in while ...
0
votes
1answer
17 views

$timeout is not a function angularjs

I am beginner with angular js and I am trying to implement modal with hyperlink, I ham referring to this plunker http://plnkr.co/edit/M7qfegYIOqOQekoxLaj5?p=preview I have been able to successfully ...
0
votes
1answer
17 views

Angular JS 2 can't open in my browser in live example

opening angular 2 js in live example when i try to open it using plunker it just shoing "Loading.." the whole time and when i try to debug it it just show "ng not define" any solution for this? when ...
-1
votes
1answer
16 views

Disable an input field with a checkbox and dropdown selection

I have 3 total fields for this. The first is a checkbox. When it is selected the input field should be activated. The second is a dropdown where when a certain selection is selected, the input field ...
0
votes
0answers
10 views

Getting Django csrf token + AngularJS

I have a Django Rest Framework backend, where I make requests to from my AngularJs frontend, both are on different domains. Currently I have the following settings in my Angular app: //configure to ...
0
votes
0answers
10 views

Authentication in django rest framework with angular

Because i have nginx route set, i am using cookies for authentication. The current code that i have in my views for signup are @csrf_exempt @api_view(['POST']) def userSignin(request): form = ...
0
votes
2answers
23 views

Getting rid of irrelevant console errors (404 (Not Found))

I have a simple program that is scraping a web site for some items. I am using Angular $http service to call the below C# method to get the markup from the page and then handling everything else with ...
0
votes
0answers
14 views

ionic-framework suddenly went blank

can anyone help me? i just learn ionic. it work well when i use ionic serve yesterday, then it suddenly display blank page today. i am not changing anything in my code . here my code for routing. ...
0
votes
0answers
20 views

_ is not defined in [null] error in angular 2

I am importing lodash in angular 2. I import my lodash in main.ts import {bootstrap} from 'angular2/platform/browser' import {AppComponent} from './app.component' import {ROUTER_PROVIDERS} from ...
1
vote
1answer
13 views

AngularJS Routes and Resolve with new Firebase Auth

I am trying to use the new Firebase with the Auth system and restricting routes in my $routeProvider via resolves. However, I'm not quite understanding. This is what I have. In my .config ...
0
votes
1answer
22 views

Dependency injection constructor with parameters: Component in `RouteConfig` initial error

I have the app.component.ts like this: import { RouteConfig, Router } from '@angular/router-deprecated'; @RouteConfig([ { path: '/meter', name: 'Meter', component: Meter } ]) and ...
0
votes
1answer
12 views

Hide flexbox element based on neighbor element size or value

I am using a flexbox to have two adjacent elements floating on the same line together. The left element has some text and the right element has a number. If the right element contains a value with ...
0
votes
1answer
42 views

How to add/ remove createElement from DOM in Angular.js

In my angular directive, i'm creating an external script from DOM for a particular object in a list, in which it adds 'script' tag and div content. I'm able to add it but i cant remove the scripts. ...
0
votes
1answer
19 views

Angular 2 One page example

Trying to build a one page app, it will have a search div then a results div. export class AppComponent implements OnInit{ // Div visability. searchVisible = true; resultsVisible = ...
0
votes
1answer
17 views

Sliding animation for ng-animate with ng-repeat not working but ng-repeat is updated

Consider the following plunker example I am trying to have the ng-repeat elements slide left upon ng-click I can see that ng-click is updating model, but the animation is not applying for some ...
0
votes
0answers
7 views

Master-Detail Ionic Application within Tabs

I am working with Ionic and attempting to build a master-detail style view within one of my four tabs. How would I go about doing this? I have already tried using $scope.go(path), and it has not ...
0
votes
2answers
26 views

UI Router controller not working when view is pulled in with $templateCache?

I am using gulp-angular-templatecache to convert all of my filename.view.html files into a templates.js file. I'm then using $stateProvider to create my states and pull in the templates using ...
0
votes
0answers
12 views

Copy a formatted value in SlickGrid

I have created a slick grid with some formatted values. Column values were formatted by writing a custom formatter. But when I copy and paste a cell I am getting original value. How can I copy the ...
1
vote
0answers
13 views

iOs Safari running wrong function in minified Javascript

I have an angularJS SPA that is published from Visual Studio using MVC4 bundling to minify most of the scripts. The problem I'm having is that on Safari, the wrong function is being run. Here are ...
-1
votes
0answers
21 views

Angularjs ng-Disabled causing values to be different

This is for a customer, so I do not know exactly how their JS works. Anyways, there is a textbox that already has ng-disabled set to a variable (which we do not know when it becomes true or false) ...
0
votes
0answers
20 views

How can I fix jquery status cancelled issue for my angular application?

I am using the directive below for an application that is loading a set of images which are loaded as a video - User can use a hotkey and traverse through all the images. If images are not already ...
0
votes
1answer
17 views

angular routeparams empty on api callback

Im trying to get some paramters from the urlcallback coming from an external authentication, in my angular projct using angular-route/$routeProvider the api redirects to: ...
0
votes
0answers
5 views

Protractor - checkbox with dynamic id cannot be defined

I need to define a specific check box and click on it to complete the account creation. The problem is that part of the input id is dynamic and changes with each run. Therefore, my approach below is ...
0
votes
1answer
13 views

Angularjs Get value of Repeated button

here i get a simpel html tabel for every x in names. x represent an Object with a few attributes.so one row of this tabel is filled with: Name,id and so on. i also get one button for every ...
0
votes
0answers
11 views

Angular directive to decorate anchor tag with another directive

I'm trying to be a lil slick by having a directive decorate all my anchor tags in a given list with a directive so I do not have to copy/paste the same code over & over. So far, it works great, ...
0
votes
1answer
32 views

Autopopulate Form in Angular Js

I am trying to find a way populate a form group with text given the click of a button. I am using angularJs,JQuery, jsPDF, and html for this. The data will be partially pre formatted, e.g. "Thank you ...
0
votes
1answer
38 views

Dom Freezes after ng-repeat event finishes

I have been working on this problem for several weeks and have tried several scenarios to fix it. First the problem: We have an angular application that has some major performance issues (lag, ...
0
votes
1answer
27 views

Electron: Where to Start and Which Technologies?

I'm about to start a small side project with Electron because the project looks very awesome. But I'm not quite sure how to start. I want to use WebStorm as an IDE. And I found some UI frameworks ...
-1
votes
0answers
14 views

AngularJS Error: [$parse:ueoe] Unexpected end of expression: user?num=49

I am interpolating $stateParams into another string to make a custom url for an external link. scope.link = "user?num=" + $stateParams.user_num; Then in my directive I'm detecting any change in ...
0
votes
2answers
14 views

Use Javascript to do a google search within a function to retrieve images to display in HTML markup

Not sure if this is possible, but is there a way to do something like this: JavaScript $scope.getSearchResults = function(searchString) { for (i = 0; i < 10; i++) { // Do a google image ...
0
votes
1answer
18 views

Problems understanding the AngularJS promise API - AuthenticationService

Good evening everybody. I startet creating a mobile application with AngularJS,Ionic & Cordova some weeks ago. I try to create a AuthenticationService for this app using a given API. I checked ...
-2
votes
0answers
11 views

Trigger Angular Function from native JS

If I have an element on a page as show below, how do I get to the openProduct function and access it from JS. I think I need to get the scope of the element, but if I try and find the scope of this ...
0
votes
1answer
14 views

forEach loop check | AngularJS

// Check voted var votes = res.data.votes; if(votes.length == 0){$scope.like = true;} votes.forEach(function(vote){ if(vote.userId === ...
1
vote
1answer
13 views

How to create an angular grid of image carousels in AngularJS

I'm using two plugins to achieve this but it doesn't work perfectly. The two plugins are angulargrid, and slick-carousel. Does anyone know of a plugin that does both these in one? Here is what I have ...
0
votes
0answers
5 views

wrap white space in material md-chips

I have a table with md-chips as one of the columns. The sample has been mocked by md-chip example. I am not able to apply any sort of styling on the md-chip-template. This is how the table cell looks ...
0
votes
0answers
11 views

Fill owl-carousel with AngularJS

I'm try fill owl carousel but not working, below is example caurousel with ng-repet. I think the problem is that data delayed. Any solution, how fix problem? ...
0
votes
0answers
7 views

Grunt builcontrol:heroku throws error

Whenever i try to push my application via grunt buildcontrol:heroku. i get an error reading: Tagging the local repository with 0.0.0 Warning: fatal: tag '0.0.0' already exists If i use ...
0
votes
0answers
9 views

How to use a parent ng-repeat varible within a filter

I have a nested ng-repeat and I'm trying to use the parent variable within the filter of the inner ng-repeat and can't seem to figure it out. I am attemting to access with $parent.tech.id... ...
0
votes
0answers
8 views

add new node to desired folder

I'm trying to add node to desired folder but unfortunately without success. The idea is simple. By click button user sees modal where puts some params such as: name and description for node the value ...
0
votes
0answers
20 views

replaceWith not working for div ng-include

i have a div having replace-with custom directive. <div class="timeline" layout="row" ng-repeat="event in ::vm.events"> <div replace-with='{{event.content}}'></div> ...
0
votes
0answers
15 views

How do I Pristine my Form when I leave the tab

I'm looking for an answer for this already two days. I hope you help me. So I have my index html code: <div class="container-fluid" ng-controller="citizensController as citizensCtrl"> ...
0
votes
1answer
14 views

Is there a way for directives to inherit behavior from another directive within an AngularJs application?

I need to create a dashboard like page with Angular and as soon as I started to code the widgets from the main page, it was obvious I was repeating code between them. Basically, all widgets have some ...
0
votes
3answers
19 views

Add new entry to (empty) scope array using ng-click directive

My scope does not contain an "notYetExistingArray" at the time of generation. Via a button, I would like to add the array plus a first entry to it. Each subsequent push of the same button should then ...