AngularJS (a.k.a. AngularJS 1) 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 applications are also frequently known as ...

learn more… | top users | synonyms (2) | angularjs jobs

0
votes
0answers
2 views

kendo-scheduler with SignalR and Angularjs: Getting 'Converting circular structure to JSON' Error

I have taken the example Code from http://demos.telerik.com/kendo-ui/scheduler/signalr and put it in my controller this way.: export default class AppointmentsController{ constructor($http, $...
0
votes
1answer
9 views

Set white-space to normal on md-option in Angular Material

I have some values which are particularly long in an md-select which overflow into ellipses on smaller viewports and therefore cut off important text in both the select list, and when displaying the ...
0
votes
0answers
21 views

Show only values where date is like choosed date

I have an array which looks like for example this: var data = [{ id: "1", user: "John Doe", dept: "test", date: "2017-03-02", task_time: "...
2
votes
2answers
23 views

AngularJS how to filter an element in an array

I have this massive $scope.arrVaritions = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], [1, 4, 7], [2, 5, 8], [3, 6, 9], [1, 5, 9], [3, 5, 7] ]; How can I find an element ...
0
votes
1answer
11 views

JavaScript client for MQTT not using WebSockets

I am building an AngularJS application and using the Paho JavaScript client to connect to an MQTT broker (test.mosquitto.org) via web sockets. This works just fine. I wanted to connect to the MQTT ...
-1
votes
1answer
12 views

How to load js file which contains json formate in angularjs

I want to remove all hard codings in angular controller, For that I want to load all hot codings from another js file, For Example modalHeader = "Success"; Here Success is a Hot coding. So I want ...
0
votes
0answers
30 views

why margin is given hardcoded in jquery?

I am making image slider dynamically (don't want to use any hard corded value).I am able to make slider but I have two issue. why I need 20px more in ul width .is there any way not to use this hard ...
1
vote
0answers
14 views

ng-table filter not filtering all pages

I am working on angular application where I am using ng-table for grid functionality but there are two issues I am facing. Filter option is searching for current page data not searching all pages ...
0
votes
2answers
10 views

How to show proprty from array by keys from anther array

I am trying to show data from 2 array based on same key, the example is firstArray [{$id='12321',name='test'},{$id='12312',name='test'},{$id='1234',name='test'}] second array: [{$id='12321',value=...
1
vote
0answers
17 views

angular 2 universal or prerender.io optimization for SEO

I want to optimization my site for search engines. And I searched two way to do this. 1 WAY To use angular 2 universal for rendering site on server side. I guess this a little difficult and I haven'...
0
votes
0answers
15 views

Use existing controller in a directive

I'm having a controller like .controller("MyFunnyCtrl", function(...) { this.hello = "hello"; ... }) which works fine. As advised here, I've created a trivial .directive("myFunny", function(...
-2
votes
0answers
17 views

Need help to understand creating multi-user ionic app

Can anyone help me out on building multi-user mobile app ,currently i am using ionic and i am able to work with views/controllers and services , i need to know how to show or hide view contents or ...
0
votes
1answer
14 views

How can i open URL in ionic application using inappbrowser?

I am making an ionic application and i want to open url in system browser i have installed ionic inappbrowser plugin but i dont know how to use it can some help me with the code. I want to open {{...
0
votes
1answer
7 views

angular-material bottom sheet issue with mobile browser?

this is my bottom-sheet its working properly in pc's browser and swipe-down event is doing well in it but in mobile's browser it starts reloading and I have to click out side for closing bottom sheet ...
0
votes
0answers
19 views

call Jquery method with parameters as ng-reapeat model values in element load angular js

I need to show penDing circle with canvas in each section of ng-repeat using canvas drawing function in jquey. please help me how to call jquery method in angular element load with dynamic canvas id ...
0
votes
0answers
11 views

can I have multiple ion-nav-view in ionic application?

I am new to ionic, although I have some knowledge about angularJs. I have been reading about the documentation of ionics and encountered ion-nav-view directive. As far as I understood it, it tracks of ...
0
votes
0answers
13 views

How to read properties file from angular controller

I am trying to load properties file from angular controller, But I am not getting values instead of values I am getting undefined. For that I am using the below code. $http.get('Validation....
1
vote
2answers
33 views

Make checkbox not clickable in Angular

I have a checkbox which I want to make not clickable. But it also has ng-click function attached. How to do this ? <input id="record-2" type="checkbox" class="checkbox" ng-click="doIfChecked()"&...
-1
votes
0answers
18 views

Angular 2 project setup with Asp.Net MVC on Visual Studio 2015

I am currently learning Angular 2 and am trying to setup an Angular 2 project with Asp.Net MVC setup on Visual Studio 2015. I referred to couple of articles on Internet and they seems to be too ...
1
vote
0answers
11 views

sending headers using $resource in angular js

I want to send headers each time for CRUD operation from factory side. Here is my factory var appangular.module("LifeStyleFactModule",["ngResource"]); app.constant("RES_URL", "http://localhost:9090/"...
0
votes
0answers
11 views

AngularFire $add operation cause the browser to freeze

I am learning Firebase using angularjs. From this tutorial https://thinkster.io/tutorials/angularfire-realtime-slack-clone/creating-the-channels-sidebar, the code used to add a new chat room is like ...
0
votes
3answers
15 views

bootstrap modal pop not working with angular js $scope

I am working on app and I've used angular.js and bootstrap.I've a page in which i used modal popup. in this popup I've item list, each item have a button.My problem is when i click on button my scope ...
0
votes
1answer
21 views

Angular factory, how to completely change result

I am currently working on Angular and bump into an issue with factories and user login/logout. Here is an example showing a use case : An angular application supports user login and logout, as long ...
0
votes
0answers
28 views

AngularJS - How to navigate between tabs in a Ionic single page application without modifying the app init file?

I am creating an Ionic project using AngularJS v1. This is my project structure ( note that this is a single page application) Screenshots Project Structure single page application Trip Tabs ...
0
votes
3answers
22 views

watch function inside directive is not firing

I have a directive in angular as follows: angular .module('accountApp') .directive('matchTo', function() { return { restrict: 'A', require: 'ngModel', ...
0
votes
1answer
19 views

Patching values in FormBuilder form and watching for changes causes infinite loop

I have simple Angular FormBuilder form (in Ionic 2 Application) with 3 fields: constructor(public navCtrl: NavController, public navParams: NavParams, public viewCtrl: ViewController, private ...
0
votes
1answer
15 views

PHP complex form

I'm trying to figure out how one would construct an HTML form that is complex. let me explain below . For example in the form i have a drop down menu for electronic devices if choose mobile then ...
1
vote
4answers
21 views

Read JSON data in Angular JS script and use that data further in JS only

I have searched it a lot , in all cases , they usually want to show it on HTML directly , but my purpose is to use the data in Angular JS only. angular.module('myApp').factory('UserService', ['$http',...
0
votes
1answer
13 views

Why ion-tab not working in ionic

I am new to ionic. I am trying to play around with ion-tabs. Following is my code :- // Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular ...
0
votes
1answer
20 views

How to call angular http post equivalent to this jquery

In my Rest.in.php private function set_headers(){ header("HTTP/1.1 ".$this->_code." ".$this->get_status_message()); header("Content-Type:".$this->_content_type); } I ...
1
vote
0answers
16 views

Local angularjs code not woking in HTTP loaded HTML file

I used Angularjs HTTP to load some PHP file to main page. But when I loaded this file, main page angularjs script are not working to loaded file. Main Page Script Code: $scope.biload = function() { ...
0
votes
0answers
7 views

Angularjs File upload code

I am creating a multiple file upload. Here's my code to handle multiple file: app.controller('wpctrl', function($scope,$http,$timeout,$location,$route){ $scope.files = []; $scope.upload = ...
1
vote
1answer
26 views

Angular JS assign scope variable after HTTP post request

I am not able to assign the scope variable after a HTTP post request. controller: storeApp.controller("formCtrl", ['$scope', '$http', function ($scope, $http) { $scope....
0
votes
0answers
21 views

ng-click= checkPhoneError() does not get called

I am newbie and inherited this code. When I click on the Call button checkPhoneError() does not get called. What is missing here? Thanks <ion-nav-title>Status: {{name}} <a href="...
-1
votes
0answers
23 views

How to convert pdf file to xml or json using angularjs

I have a user form which i have created with LiveCycle Designer 8.User need to download the form and fill the fields and upload the PDF. Now after upload i want to get the data from that form and ...
0
votes
0answers
9 views

angularjs spring boot spring security

I am not able to call AppUserDetailsServiceDAO class from angularjs http.post method.Code myapp.service('AuthSharedService',function($log, $http){ $log.log("hello sanket"); this.login = ...
0
votes
3answers
27 views

AngularJS delay view display

My controller fetch data from two external JSON files, filter it and then should render on the view. But whole operation take some time (approximately 30 mil sec) and view is loaded first. So data ...
1
vote
1answer
19 views

How to get HTML contains using HTTP Post by Angular JS like Ajax Load

I tried to get HTML contents using Angular Js Post HTTP method. This is working only text contents like P tags. But I want to get Input types HTML contents using Angular JS like text box and so on. ...
0
votes
1answer
26 views

Angular - Service returns value, but doesn't route in app.config

I want to make a call to a service to retrieve a user from a database (currently mock data, but it will be from a database) and have that user's information sent to ProfileController when the "profile"...
1
vote
2answers
28 views

Cannot get Angular Material flex to work for layout

I have an Angular module which I refer in the index.html. The template file for the module is as follows: <div id="{{$ctrl.link}}" class="container-fluid"> <div layout="row"> <div ...
0
votes
1answer
7 views

Get the value of the checked checkbox in angularjs

I am new to angularjs. And I am currently developing a web app. I have 10 checkboxes inside my form. I don't know how to get the value of the checked checkbox. After getting the value of the checkbox, ...
0
votes
0answers
16 views

$mdDialog doesn't read from json

I'm trying to bind data from a json to an mdDialog but it's not working. Hoping someone could see what I am missing here. The setup is complicated because the data s being accessed in several views. ...
0
votes
0answers
13 views

AngularJS v1.6.2 app fails to load template

I am writing an Angular 1 app using Angular-UI-Router. None of the templates are loading. The errors I'm getting say the template files are undefined. I can display them in the browser, Microsoft ...
0
votes
0answers
15 views

how to reload ng-repeat data using angularjs and asp.net

How would you pass data code to angularjs variable. its working fine when the page loads. But when I click the button, for filter data. The server side does not load data. $scope.studentinformation ...
0
votes
0answers
8 views

Soundwave is giving me a Referrence Error in the directive

I have a button play an alert sound when something terribly wrong has happened. No 404s on the file. Location is fine. But I am getting an error in the directive. I am using similar setup in another ...
0
votes
1answer
27 views

Develop Angular App in Sub-Directory

Is there any way I can configure the ng-serve command to serve static html files at the root directory, and serve an angular app at a sub-directory? I'm developing an angular 2 app, and for SEO ...
1
vote
0answers
24 views

AngularJS How to remove query string before hash

I'm using AngularJS 1.6.3, with html5Mode disabled (see below). When Facebook's OAuth redirects back to my site, the route's hash is added after the ?code query string: https://example.com/?code=&...
1
vote
0answers
19 views

$state.go() calls the controller of other state several times

Here are my states: var states = angular.module("states", []); states.config(function($stateProvider, $urlRouterProvider){ $urlRouterProvider.otherwise("/landingPage"); $stateProvider ....
0
votes
0answers
20 views

A service that does not give the expected result [duplicate]

I'm learning AngularJS and I'm actually writing a service that get json data: app.service("Posts",function($http,$q){ this.posts=false, //return all the posts this....
1
vote
1answer
13 views

empty md-select after choose option

This is my md-select <md-input-container flex="50"> <label>Choose user</label> <md-select ng-model="data.model" ng-change="sum(data.model)"> <md-...