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

trouble on using lb-services (Loopback - Angular JS SDK)

I'm using lb-services from Angular JS SDK to create my default service, and currently, I have some trouble in logout & rememberMe function. I'm following this tutorial : Angular Javascript SDK ...
0
votes
0answers
5 views

How do we load angular 2 without server? [duplicate]

I've made 2 or 3 Angular 2 apps (simple applications on lite-server) following the Angular 2 official tutorials and taking John Lindquist's (egghead.io) help. The thing is that I need to create ...
0
votes
1answer
10 views

Href doesn’t work in ion-option-button?

hy guys, in an Ionic project I made a ion-list ion-items and these ion-option-buttons: <ion-item ng-repeat="(id,place) in places" > <h2>{{place.name}}</h2> ...
0
votes
0answers
4 views

increasing number of nodes, but heap comparison shows no detached dom, and doms size is stable

I am exploring a memory leak on a angular js app. I execute a simple scenario with the following actions: 1. add a new row 2. remove the new row The timeline show an increas of the number of nodes. ...
0
votes
0answers
13 views

Angular select fire twice when opening

I don't know why it is happening. I know my app is quite big and complex but I don't think I'm doing something wrong with my selects. All my selects fires 2 or even 3 times before show the options. ...
0
votes
0answers
7 views

Angular parse error - Token 'T09' is an unexpected token

I have created a basic directive that updates the time within a div: myApp.directive('updateTime', function($timeout, $filter) { return function(scope, element, attrs) { var timeoutId; ...
0
votes
2answers
21 views

Angular2 showing an error : TypeError: Cannot read property 'query' of null

I'm trying to implement service in my component but its giving me an error EXCEPTION: TypeError: Cannot read property 'query' of null platform-browser.umd.js:962 EXCEPTION: TypeError: Cannot read ...
0
votes
0answers
12 views

Ionic list item text overflow not adjusting the height of the list item

Code: <ion-header-bar align-title="center" class="bar-positive"> <div class="button button-clear" ng-click="closeGlobalTaskModal()">Cancel</div> <h1 class="title">Add ...
0
votes
1answer
5 views

Unknown tag (md-toolbar) in eclipse

I am trying to learn angular material and found below link: http://www.tutorialspoint.com/angular_material/angular_material_environment.htm I followed CDN based installation and copied the below ...
0
votes
0answers
9 views

Cannot read property 'statusCode' of undefined at Request._callback

WHILE CREATING NEW IONIC APP I AM GETTING THIS ERROR C:\Users\orcilia49\AppData\Roaming\npm\node_modules\ionic\lib\cli.js:474 process.stdout.write('Unable to fetch', err, ...
0
votes
0answers
5 views

Protractor Test cases

I am new to protractor e2e testing. and i have written my first test code.. I would like to know your feedback and ways i can improve it. describe("Map feedback Automation",function(){ it("Check if ...
0
votes
0answers
13 views

Check if the page has loaded through a component in Angular JS

I'm using Angular 2 and Ionic 2. I've create a component which has the following template: <button class="{{dynamicClass}}"></button> which I'm using in one of my pages (let's call it ...
0
votes
0answers
5 views

How to precompile components of Angular 2 rc1 project

It happens that we have here a pretty big Angular2 application and as recently Angluar RC1 came out I was updating our app to that sub npm module layout. While doing that I noticed that from rc1 we ...
0
votes
2answers
17 views

$location.path not working

I am working on angularjs form where I need to navigate to other template on click on anchor tag. ng-click is working but problem is with $location.path. here is main template <a href="#" ...
0
votes
0answers
9 views

How to dynamically insert elements with AngularJS bindings into bootstrap table

I'm using the bootstrap table library and its AngularJS directive to create tables in my app. There I want to create a button inside a cell which triggers a table data dependent action. My code looks ...
0
votes
0answers
18 views

How to create seperate array with dynamic values in angularjs

I am new to angularjs. I need to create an array as below by pushing values into an empty array from json response. Array i need to form : 0: [ abc, juniordeveloper, engineer, ...
1
vote
2answers
17 views

Angular 2: Populating components to template

I'm on Angular2 RC/Ionic2 trying to populate a div with buttons from an array of strings, and attach click handlers for each button added. So far I've been successful with the following: ...
0
votes
1answer
20 views

using $http in compinet module angular JS

I'd like to understand why i can't retrieve data from external sources. I need to recover the content of a Json and parse it to display content in this template : Nombre of news: {{new.length}} ...
0
votes
0answers
16 views

ng-include: Access child scope issue

I'm using DayPilot Scheduler in my app and i'm having the following issue. home.html: <div class="container-fluid"> <daypilot-scheduler id="scheduler" daypilot-config="schedulerConfig" ...
3
votes
2answers
28 views

AngularJS ng-controller undefined

I'm working on a small angular project, in which I make use of the bootstrap calendar by mattlewis92, and I keep having problem with my controller. Here is my .js file : 'use strict'; var app = ...
0
votes
1answer
16 views

AngularJS: too big amount of listeners on view and long loading time of the view

I have issue with Angular view when joining the view second time. Input: View loads list of 1500 items All 1500 items displayed in table with ng-repeat and filter No $watch used in the view ...
0
votes
3answers
18 views

ng-click inside templateUrl directive not woking

Sorry if this is a stupid question, but I'm a new to Angular. I have an ng-click event that worked before I put the code in a directive. I understand it's probably to do with the scope, but can't seem ...
0
votes
1answer
9 views

Adding 'isLoading' variable to $resource service (Angular)

I have a Service which uses $resource to pull in API data. I want to included a isLoaded variable to define whether the API response has executed. My service currently looks like this: ...
0
votes
0answers
11 views

Maximise effectiveness of one-time bindings

I'm currently working on the performance of an angularJS application, and was wondering if there is any difference in performance between these two examples: ...
0
votes
1answer
15 views

Getting all values comma separated as last option in ng-repeat

I have a select in which I am using ng-repeat to generate options. I am trying to have a last option as All which should have comma separated values of all the options <select ...
3
votes
1answer
27 views

Contrller name from scope

I want to set controller which name described in scope of another controller JS file: .controller('PageCtrl', [ '$http', '$scope', '$routeParams', '$location', function($http, $scope, ...
0
votes
0answers
10 views

Ionic data bind on subheader

I'm doing a slide view with subheader I would like to change subheader title when slide change here's my code <div class="bar bar-subheader bustime-subheader"> ...
0
votes
1answer
9 views

AngularMaterial Autocomplete stcuk permanent query

Background: I am learning AngularJS and using AngularMaterial. To test it, I decided to create an example out of the code given in the documentation (check codepen). My application is a nodeJS ...
0
votes
3answers
29 views

ng-click doesn't work with dynamic html

I create dynamic html in html ng-click doesn't work.. My code is as follow window.imagePicker.getPictures( function(results) { for (var i = 0; i < results.length; i++) { ...
1
vote
2answers
22 views

Angular Dependencies

Recently I have been learning Angular and getting on ok but there is something about the dependency injection that is still not clear to me. Is there any reason to declare in my app.js file the other ...
0
votes
2answers
33 views

angular promise and $http

ng.module('app') .service('CardService', ['$http', CardService]) function CardService($http) { this.$http = $http; var self = this; ...
0
votes
0answers
9 views

Angular js pagination error

I'm trying angular js pagination , I have done it but small issue on pagination page numbers display. Please see the attached image for the error.
0
votes
0answers
18 views

Angular ng-if sorting with else statement

I'm trying to make a settings option for users to display item id and/or name in drop down list. Basically everything works, but I have items without names (with id only) and I want to make it so that ...
0
votes
1answer
7 views

How to get device camera and open file browser to upload image in ionic?

I am new to ionic and I want my app to use the device camera and also to upload or select file from gallery. Is there any plugin for this?
0
votes
0answers
18 views

Getting Error!!! while reading json file using angularjs and angular fomrly

Am trying to read a JSON file in angular js and pass it to angular formly for getting the html input elements, am reading a external json file using angular.factory and passing the data to the ...
0
votes
0answers
5 views

How to use different layout for specific views in sails.js and angular.js

I have a Sails.js + Angular.js project. I am using a single layout for this project. But right now I got different html, and it's layout is totally different from the one I am using right now. The ...
0
votes
0answers
4 views

Filter dependent tasks in Kendo Gantt Chart

I am using the below function for filtering the kendo Gantt Chart $scope.filterchart = function (filterText) { var chart = $scope.TaskChart; if (filterText != "") { chart.dataSource.query({ ...
0
votes
0answers
12 views

AngularJs Datetimepicker

I've got this problem for quit some time now: I'm using the AngularJs datetimepicker https://github.com/dalelotts/angular-bootstrap-datetimepicker. I've implemented it like this: <div ...
0
votes
0answers
2 views

How to structure Cordova project using Onsen + Angular in Visual Studio

Can anyone help me to structure my brand new cordova app using vs15 and Onsen with Angular. I need to know the folder structure as well as in detail.
-3
votes
2answers
31 views

Stop all event when doing blur event? [on hold]

I am working in an Application in this i need to prevent all event when i am doing Blur Event. I have tried e.stopPropagation() but its not working. Any help appreciated.
0
votes
2answers
31 views

Should I use a function on angular ng-disabled?

Take this code: var app = angular.module('test', []); app.controller("controller", function() { this.hello = "Hello world"; this.condition1 = true; this.condition2 = true; ...
0
votes
0answers
7 views

Abstract state as parent state blocks the navigation

My application starts as per below code var app = express(); app.get('/*', function (req, res, next) { res.sendFile('index.html', {root: __dirname}); }); Where the index.html file contains the ...
0
votes
1answer
12 views

Get the element availability status in boolean using protractor

I am trying to get the element present status of the using 'If' condition but unfortunately i am not able to get the result as either 'true' or 'false' instead i am getting like(when element is ...
0
votes
5answers
43 views

AngularJS http call (complete syntax)

I'm new to AngularJS and I needed to know if we can make a jQuery like Ajax call in Angular and wanted to know it's complete syntax, if anyone could help me making the whole code syntax. Example in ...
0
votes
1answer
7 views

md-items of auto-complete are not updating based on other auto-complete

I have two auto-complete fields. As Following <md-autocomplete flex md-input-name="clientName" md-selected-item="vm.clientName" ...
0
votes
0answers
13 views

Create angular directive, which renders a table, in nested directive

I'm trying to make a directive, which render a table for me like <my-table> <my-table> which, with the code below, works an creates a table app.directive('myTable', function ...
0
votes
1answer
14 views

Angularjs select2 set options selected

I want to build select list (select2) options when user clicks on html button. My HTML: <select id="mySel2" class="form-control" multiple="multiple"> <option ng-repeat="item in ...
0
votes
0answers
10 views

cordova ionic + requirejs

guys. I'm using Angular in combination with require.js.I can't set $translateProvider in my .config . Can you help me? Failed to instantiate module app due to: Error: [$injector:modulerr] ...
1
vote
1answer
15 views

RxJS Observable.concat: How to know where next result came from?

My application (Angular 2 with RxJS 5 written in TypeScript) requires me to make 2 calls to a web service in a predefined order. Inspired by this page I decided to try the concat operator of RxJS ...
0
votes
1answer
17 views

How to make my picture resizable using angularjs

Hello everyone i have a lot of problems to make my picture resizable (when i put my pointer on the edges of the picture) using Angular js can anyone please help me how can i make script functional?. ...