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
1answer
10 views

angular ngHide on a button leaves space where it was

In the footer of this html file, I have 3 buttons. The first image shows how the 3 buttons are arranged. The second image shows is when the footer middle button is commented out. The third image is ...
0
votes
0answers
6 views

Angular JS -which grid to use

Which is the best control that can be used in Angularjs to list items in a table format . I have seen multiple options like ng-table,ui-grid,ag-grid,kendo-grid.I need features ...
0
votes
0answers
3 views

BigNumber usage with Webpack + Angular

Error: [$injector:unpr] Unknown provider: BigNumberProvider I'm starting project with Webpack + Angular.JS and I want to use Bignumber.js but can't include it. The part of Webpack config: ...
-2
votes
0answers
17 views

Failure in dependency injection

Error: [$injector:unpr] http://errors.angularjs.org/1.4.9/$injector/unpr?p0=SampleProvider%20%3C-%20Sample%20%3C-%20SampleController angular.js:29499WARNING: Tried to load angular more than once.
0
votes
0answers
7 views

Angularjs - Lifecycle of a view

I'm a native mobile developer so I use to do my work with android java and objective-c iOs. So I always tend to work with a lifecycle of activity or viewcontroller in mind. And broadcastreceivers and ...
0
votes
0answers
4 views

angular-datatables: DTOptionsBuilder is not a function

I'm using the angular-datatables for my project, a single-page application, and trying to configure the datatable using DTOptionsBuilder, but I', facing some problems. I get the following error: ...
0
votes
3answers
17 views

Create an array using ng-init angular js

Is it possible to create an array using ng-init dynamically? The bellow code is not working ng-init="medi_count = new Array(5)"
2
votes
1answer
12 views

Angular - after deleting from ngRepeat, remaining items don't slide smoothly but rather snap/jump into place

I'm using the AngularJS v1.4.8 and I included/injected ngAnimate in my controller. I am building a dynamic list using ngRepeat, which is bound to an array. Adding and updating items in the list works ...
0
votes
1answer
23 views

Angular sort by a calculated value

I have an app where I display a list of elements, every one with different properties, and one of those properties is used to get another value from a factory, and I want to be able to sort the list ...
0
votes
0answers
10 views

Custom directive does not have access to the data passed to it

Leftmost Column <div class = "sidebar"> (This section is fine) </div> Middle Column <div class = "middle"> <div swagger-ui > </div> //swagger-ui is a ...
0
votes
0answers
9 views

requirejs + angularjs + resolve, controller loaded but not executed

I'm trying to load dynamically a controller in this way: .state('main', { url:'/app', data: {requireLogin:true }, views:{ '': angularAMD.route({ templateUrl:function (){ var ...
0
votes
1answer
21 views

callback issue in angularjs directive

I am facing call back problem when calling a service function Here is my function defined in registrationService function hasUserAccessToLevel(incentiveLevel, callback, showRegistrationView) { ...
0
votes
0answers
13 views

ng Route with typescript

I m getting this error , any ideas why ? "Uncaught Error: [$injector:nomod] Module 'route' is not available! You either misspelled the module name or forgot to load it. If registering a module ...
1
vote
0answers
5 views

Angular & Firebase $_SESSION like php?

im trying to membership process with angular and firebase. Is there another solution, but instead of keeping user information in local storage and session storage? I do not want to keep the local ...
-1
votes
0answers
5 views

Angular 2 Routing to a Component with Input

My routes are quite simple, @RouteConfig([ { path:'/news', name: 'News', component: NewsComponent, useAsDefault: true }, { path: '/admin/...', name: 'Admin', ...
0
votes
0answers
17 views

AngularJS - Detailed explanation on $resource actions

I am not able to understand how to use $resource actions argument. Can you please explain with example about $resource actions argument especially how "timeout" works etc.
0
votes
0answers
9 views

Add same event on multiple dates fullcalendar angular

I have a event which starts on date and i want that event to start every day at some time, so in calendar i want that event to render on each date so that it can be visualized as daily event. Using ...
0
votes
0answers
18 views

How to create a custom angular directive which contains multiple input controls?

I am working on my first angular project. For better or for worse, I am trying to convert almost all repeatable HTML into directives. I have a requirement to let the user select a time in HH:MM ...
0
votes
0answers
6 views

How to use getReactively with find all helper in Meteor?

I am working through Angular Meteor tutorial and got deprecation warning on this.helpers({ parties: () => { return Parties.find({}); //deprecation warning. Use getReactively ...
0
votes
0answers
15 views

unreachable code after return statement Angular Material Failing when linked in index.html

Hi guys im just setting up a new project for some work im doing trying to get something working quickly to keep momentum up. However i seem to be having a problem with getting Angular Material to load ...
0
votes
0answers
9 views

Load multiple views in angular modal window using ui-route

I have a requirement where I have to load multiple view inside a model window. There would be a set of tabs with some icons in it, and on clicking those icons views should change inside the model ...
0
votes
0answers
7 views

Jasmine and angular mocks : mocking a service that handles local storage

I have one service called wd$cache, that is basically a wrapper for localStorage.setItem and get.item. Now I'm trying to test a controller that uses that service to achieve a certain result. The main ...
0
votes
0answers
6 views

SB-ADMIN angularjs installation issue

Please tell any one how to fix this issue what is missing. Testing for your end please download SB-admin 2 angularjs and download all bower components. I am getting an error as well as mention in ...
0
votes
0answers
44 views

Function getting called twice on mouse click event

I am calling a function which uploads the image on mouse click as: <img type="file" id="uploadLogo" ng-click="triggerFileuploadClick('logoInput')" required> <input ...
0
votes
0answers
9 views

Karm unit, unexpected request for GET template file

This probably has been asked a million times but somehow cant get it to work / cant find the answer to this issue. Hopefully someone can point me in the right direction. Getting a unexpected GET on ...
-1
votes
0answers
36 views

Angularjs json data render in table

The following data structure: Data and the data structure Of JSON like the following: [ { "id": "1", "name": "pare", "_child": [ { "id": "1", "name": "A1" ...
5
votes
2answers
46 views

Optimize Game of Life

im a beginner at coding and the past day's i tried to write the famous "Conway's Game of Life". Right now im done with the code and the game works. But if the size of the Playground grid gets to big ...
0
votes
1answer
18 views

Including external javascript libraries inside Angularjs 2 component templates

Angularjs 2 documentation mentions, Almost all HTML syntax is valid template syntax. The element is a notable exception; it is forbidden in order to eliminate any possibility of JavaScript injection ...
0
votes
0answers
16 views

ngOptions use a later initialized value as result

I have an select with this ng-options: res.blob as res.name group by res.title for res in exerciseResources.images the array has such a style: { name: "Bee", title: "Animals", path: ...
0
votes
0answers
8 views

AngularStrap - Popover in a Popover

I have a Angular Strap popover that contains form elements: <button type="button" class="btn btn-success" bs-popover title="2nd popover" html="true" data-content="should become a form of some ...
0
votes
1answer
8 views

dist folder generated using grunt build not working

I am working on an angular application created using yeoman and using grunt and bower task execution and dependency management respectively. Application runs fine when i run the application using ...
1
vote
1answer
14 views

Angular DatePicker overlapping with the bootstrap modal window

I am trying to render a angular datepicker in the bootstrap's modal window. However the calendar is getting clipped. Attached is the screenshot for the same. I tried to fix it with z-index. ...
0
votes
0answers
12 views

Implement React code in Angular feasibility questions

I have an app written in React which I'm considering moving to Angular. However when I started designing the same functionality in Angular I got stuck as I thought it got too messy, but maybe I’m ...
0
votes
0answers
14 views

protractor: How to send a post api request directly for testing

Im new to protractor and have a registration page, So i wanted to post the api directly so that the user profile is directly created My controller <script> var app = angular.module("app", ...
0
votes
2answers
17 views

Angularjs FB login using factory

I am new to angularjs.I am using factories where i have written the fb login code. And during the last step i am sending all the data to my server where the user is registered in my database and the ...
1
vote
0answers
9 views

Wodry js animations

Heyy, On my angular website, I am using the 'wodry js' plugin to create the animated effect as shown in example two from link 1: http://daynin.github.io/wodry/#examples ...
1
vote
3answers
43 views

Is it okay to handle all the $http errors in controller?

In all my services, I'm just invoking REST services and returning the promises to the controllers. All the error's are handled at controllers using catch like below, ...
1
vote
1answer
14 views

AngularJS: Get the names of all binding within a certain element

Is there a way to get the name of an two-way-binding? <div ng-controller="myController"> <my-directive> {{abc}} </my-directive> <my-directive> ...
0
votes
4answers
35 views

jQuery does not find element with ng-repeat

I have a view with ng-repeat: <div ng-controller="LogBtnCtrl"> <li class="item log-btn" ng-repeat="logItem in logBtns"> <div class="log-btn--graph">5,3,9,6,5,9,7</div> ...
0
votes
1answer
15 views

Error: [$sce:unsafe] AngularJS 1.2.20

I'm creating a web site using Orchard CMS and AngularJS 1.2.20 and I'm trying to render html code but I'm getting this error Error: [$sce:unsafe] http://errors.angularjs.org/1.2.20/$sce/unsafe ...
1
vote
2answers
21 views

How to do base class concept for CRUD in angularjs?

Currently Am doing student project in angularJS. In that I need to use base class concept for CRUD operation.. I need to create one base class in that class contain Create, read, update and delete ...
0
votes
1answer
15 views

How to declare and use modules, controllers, services and bootstrap manually in Angular?

i'm trying to build an AngularJS app that has one Controller, one Service and that Bootstraps manually (no ng-app). The problem is that I keep having an error : Argument 'AppController' is not a ...
0
votes
0answers
63 views

When to use closures in javascript?

I came across a custom filter used in angularJS where we are returning a function with a logic for custom filter. Here I'm not able to understand when exactly i should be using closures. I tried to ...
0
votes
3answers
25 views

Usage of ngStorage(angularjs) for language option

I have this HTML <button class="btn btn-info" ng-click="setLanguage('en')">English</button> <button class="btn btn-info" ng-click="setLanguage('de')">Danish</button> ...
0
votes
4answers
35 views

how to get the min and max value from json in angular js

i want to get the maximum and minimum value from a json in angular js my json: { "data":[ { "name": "ranjith", "age": 22 }, { "name": "rahul", ...
-1
votes
1answer
30 views

Run python scripts from website

I just needed a bit of guidance for what I should read more on for the following problem: I have a few python scripts in a folder on my network drive that I run daily and I want to create a website ...
0
votes
1answer
7 views

check field labels are visible and contain the correct text with Protractor

I'm trying to verify that some field labels are visible. I.e. Id, Date, Amount + Description. How can I check each < dt > in a < dl > The are contained in the following < dl > element with ...
0
votes
2answers
23 views

How to use ng-include from code?

I want to use ng-include directive from the code. Something like var html = '<div ng-include="\'myTemplate.html\'"></div>'; $compile(html)($scope); ...
1
vote
3answers
50 views

How group objects in array from ng-repeat with filter?

How group objects in array from ng-repeat with filter ? I have an array with objects, and I would like group by this objects by their countries. Sample : I would like to have this result : Free : ...
0
votes
1answer
24 views

Angular Datatables: Unknown provider

Hej guys. I'm new to JS and Angular trying to implement the angular-datatable version in my project. First I used the "angular-way", which turned out to be a bad decision based on performance. I ...