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 applications are also frequently known as single-page ...

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Controls missing on Angularjs Page

I just started on Angularjs. I have the following code in an Angular app index.html <!DOCTYPE html> <html ng-app=""> <head> <title>Angular App</title> <...
0
votes
0answers
6 views

google analytics with ionic framework is not working

I am new to ionic. I have created an mobile app to use google analytics.i built and deploy it successfully. But the results(screen) are not shown in the account analytics.google.com. real time ...
0
votes
0answers
2 views

How to pass a variable in FusionChart datasource?

I am implementing fusioncharts in my angularjs application I am getting a JSON array through http.get method and storing it in a varible I called $scope.tps I want to pass this variable in datasource ...
0
votes
1answer
20 views

If i keep those script code in the html file no error occurs, But if i kept in another individual script file, yup error occurs

<!-- HTML FILE--> Gender : <label ng-repeat="option in gend"> <input type="radio" ng-model="$parent.option" ng-value="option">{{option.I}}{{option.O}}</label></br&...
0
votes
0answers
35 views

ng-click is not working as expected

I have been trying to implement a mock up angular project, I am using ng-click event to a button so when it is clicked it will open a edit modal that will show the respective name of the enterprise ,...
1
vote
4answers
26 views

like dislike functionality in AngularJs

I am trying to achieve likes / dislikes functionality but it's not working. I am newbie for this kind of functionality. I've added my snippet about what exactly I am trying to do. Please do help me ...
0
votes
0answers
15 views

How to call scope variables which are having symbols? [duplicate]

I have this variable name loading from a server.. I can't change the server code.. This is the variable name. "episode-alt" I am creating a front end using Angualr JS and need to use this in a ...
1
vote
0answers
15 views

Base64 string is received differently in the server

I have an image that I want to convert to base64 and send to server, to save it to database as base64 string. I use angularjs in the client side and this to convert image to base64. I do console.log(...
0
votes
1answer
9 views

Angular ui-grid , add custom message to editableCellTemplate

I need to add a custom error message to cell when it is in editable mode, basically i just need to add message to the editable html template as follow <a href=\'#\' data-toggle=\'tooltip\' data-...
0
votes
2answers
29 views

ngRepeat error with calling a function

I've an array and I'm looping over this array and calling a function into this ng-repeat and this function is in link function of a directive so my problem is, ng-repeat looping only twice (length of ...
3
votes
1answer
29 views

Cannot access a variable inside controller in angular

I am trying to implement a crop plugin in my angular demo project. I have injected the required modules to my main module and successfully cropped a pic. But I don't know how to pass the base64 string ...
0
votes
0answers
15 views

how to html entity decode in controller method in laravel 5.2

how to html entity decode in controller method in laravel 5.2 , i have been trying this with php code , but till no effect. I have use e() to encode html , bu to decode i didn't find any method in ...
0
votes
0answers
13 views

cant install angular-toastr with bower

I am trying to install angular-toastr with bower install angular-toastr . I could see the below error. Is is the problem with the repo? bower not-cached https://github.com/johnpapa/...
0
votes
0answers
8 views

How to use document.querySelectorAll() in `ng-include`angularjs?

I used document.querySelectorAll()to select my class in view. I got problems when my class was included from another file. How to use document.querySelectorAll() if I import my file using ng-include?
0
votes
1answer
22 views

When I use $scope.watch in angular, I have an issue in passing data

I use $scope.watch and set and get to pass one data from one controller to another. This works fine, but when I do this with different html files, data is not transferred in my first click. because ...
0
votes
0answers
4 views

randdusing/ng-cordova-bluetoothle, parsing ble advertisement ionic

using the randdusing bluetoothle plugin for ionic app, need to read the advertisement. The ble scan returns with Start Scan Success : {"address":"14::30:c6:60:e8;9f","name":null,"rssi":-50,"...
0
votes
0answers
4 views

Angular $uibmodal resolve with asynchornization

I have a service that gets data from a server. After retrieving data successfully, I would pass to a $uimodal in a directive. My code is described below Problem is when I run my app first time, ...
0
votes
0answers
6 views

handle requests from angularjs to nodejs single service using sequelize literal?

JSON data request from client side in different ways like this client requests from angular as filters with different parameters to single service which is in node Js.So this nodejs code handle ...
2
votes
1answer
12 views

TypeError: reservationService.getPendingReservations is not a function

angular.js:13708 TypeError: reservationService.getPendingReservations is not a function When I load page the first time I get this error, but giving F5 the page, load smoothly. Below I show my ...
0
votes
1answer
15 views

How to declare submenu inside class model?

I am new to angular2. So, please bear with me. What I have tried so far: export class Navbar { name: string; submenu: { name: string; } } Again: I tried array and [] export class Navbar ...
0
votes
0answers
8 views

Advice needed for lightweight dictionary web app

I am trying to write a very lightweight 1-page german-english dictionary and I have a 10mb json file containing of about 120,000 words, their gender and translations. I used angularjs for this project,...
0
votes
0answers
7 views

Series Details Not Showing in Angular Chart with Charts.js

I am implementing the Angular Line Chart Functionality in my ionic application as described in the link https://jtblin.github.io/angular-chart.js/ The charts are displayed successfully, but the ...
1
vote
1answer
12 views

Setting up input to update scope variables doesnt seem to work

I have a controller: .controller("myController", function($scope){ $scope.name = "Test"; $scope.desc = "Hello World!"; $scope.create = function(){ var test = {name: $scope.name, desc: $...
0
votes
1answer
16 views

Don't know where to install the modules

I am currently getting to grips with angular using a book, currently on testing. So I have the tutorial project folder set up in localhost C:\xampp\htdocs\projects\learningangular. So I installed ...
0
votes
0answers
6 views

Click to scroll to views within states for angular-ui-router

I'm currently using named-views within a state in angular-ui-router to display several info-cards on the same state at once. It's a dashboard that has a sidenavbar with three sections, each having ...
1
vote
0answers
8 views

`$cookies.put()` takes 30 seconds to save the cookie on disk on Android

Context: We have a cordova application loading an online website. (We basically use cordova for the plugins) We store a cookie using $cookies.put() It works fine in desktop browsers and on iOS (as ...
0
votes
2answers
12 views

Can't get JSON object from a two dimensional array. AngularJS

In my directive I am calling a function that's returning me the content of a JSON file, the content looks like this: { "UpdatedBy" : "Naguib", "UpdatedOn" : "29/09/2016", "UpdatedFrom": "...
0
votes
0answers
6 views

Removing ionic side menu

I bought an app. This app have a side menu: http://ionicframework.com/docs/api/directive/ionSideMenus/ So.. I want to remove the that menu... In my homeController I have this: HomeController.$inject ...
0
votes
1answer
5 views

303 response code not working (Stripe Connect with Angular.js)

What should I do with this code? As I understand it should redirect my request, but I only get an error. Error I get :8100/#/stripeCallback? scope=read_write&code=...
1
vote
1answer
27 views

$controller service throwing error while loading controller

I'm using Angular 1.5.8. Here is my code: describe('My Controller', function() { var MyController; var $controller; var $rootScope; var $state; beforeEach(angular.mock.module('ui....
0
votes
0answers
5 views

Satellizer (angular) and PHP

I have implemented Satellizer in Angular 1.3. My login/signup functions great but I am confused with the facebook login. I am able to get authorized by Facebook, but am unsure what is happening next. ...
0
votes
1answer
19 views

HTML updates not reflecting in AngularJS

I am developing an AngularJS project. Each time I change the code, (html/css) and refresh the page, the changes are not reflecting. I already have cache: false in routes. By the way I am using dynamic ...
-1
votes
1answer
20 views

ngOptions storing object inside an array

I am trying to make a diet form. It has many days, eating types and products. I will be using the code from codepen to explain the problem. I use ngRepeat to create multiple select forms: <select ...
1
vote
1answer
4 views

Data did not post from localStorage PHP. Angular

I'm trying to create some sort of subscription for sport event. In this case I've created table with gameId and userId. I'm trying to get logged in user id via localStorage. here is my angular code: ...
0
votes
0answers
14 views

How to compose the payload in javascrdipt for posting?

The following code was used to handle file uploading. Now I need to change the upload function to function upload(files, id, doctype, comments) {. How to change the part to compose the payload ...
0
votes
1answer
18 views

Refreshing contents of div based on drop down selection (custom directive) in Angularjs

I have a custom directive which is very similar to a drop down. Items in the drop down menu are associated with file names of certain videos. A div below the drop down displays a default video file (I ...
0
votes
1answer
9 views

Please provide me explanation for the Slider directive

Can anyone please explain the Slider directive provided here myApp.directive('slider', function() { return { restrict: 'A', scope: { ngModel: '=' }, ...
0
votes
2answers
20 views

Angular 2 interpolation vs property binding

I know from multiple blogs and some questions here in stackoverflow that in Angular 1 ng-bind has better performance than {{ }} interpolation because of the way the $digest process works. Angular 2 ...
0
votes
1answer
14 views

Angular, change model value with checkbox

I have a bound data variable named 'bool' which has a value of 100. When I click a checkbox I'd like the value to increase by adding 50 to it. What am I doing wrong? <div ng-app="app"> <h3 ...
0
votes
1answer
17 views

$http success callback is called when an error arrived

I am using AnguarJS $http service to call my server API on an Ionic app. I am using a code similar to this : $http({ method: 'POST', url: "url" }).then(function successCallback(response) { ....
1
vote
2answers
19 views

AngularJs form post data giving null values in my spring controller

Hello all i am trying to post a form using angular but i am getting null values in my spring controller.Also in my console i see null values for the sysout.Moreover i get an error alert even though i ...
0
votes
0answers
19 views

upload a file using ng-file-upload and send it to Flask

I am trying to use ng-file-upload in my Flask app, but I'm having a hard time send it to Flask main.py to be saved. I could have just done a simple submit using flask's url_for(), but I would like to ...
0
votes
0answers
4 views

pushState(null, null, url) only changes URL once and then freezes applicaiton

I am trying to change the URL without changing the page. When a user selected an item, I want the id of that item to appear in the URL. var currentUrl = window.location.pathname; url ...
0
votes
0answers
15 views

SVG not showing up in firefox even when width and height are set

having some issues with an SVG not displaying in firefox. it is in the DOM and everything. i see a wealth of web results talking about making sure to set height and width, but has anyone run into ...
1
vote
0answers
19 views

How can load partial view via angularjs ng-view and ng-route directives

I am completely new in Angular. I want to load two different partial views with singleton controller by using ng-Route and ng-view.But every time when I executed below SpecialFields.cshtml that I got ...
0
votes
0answers
21 views

Addclass dont work with angular directive

<form name="configurationForm" class="form-horizontal config-form" novalidate confirm-on-exit> I have this code, if I add a class to the input and if I put a different value, the initial, it ...
0
votes
1answer
34 views

Basic Angularjs code not runing?

I using very simple code. I seem to be missing something that does run the Angularjs code. here is my html code: <html> <head> <title></title> </head> <body ng-...
0
votes
0answers
8 views

Ng-class not working in dynamic $compiled html in directive

I want to compile a template inside my directive. My compilation code looks like this: app.directive("test", ['web', function (web) { return { restrict: 'A', link: function (scope, ...
0
votes
1answer
16 views

uncaught Error: Could not compile 'HighlightDirective' because it is not a component

Error Log: runtime_compiler.js:353Uncaught Error: Could not compile 'HighlightDirective' because it is not a component.assertComponent @ runtime_compiler.js:353RuntimeCompiler....
0
votes
1answer
18 views

How can I combine these custom filters?

Im trying to create a filter mechanism using this code, which works perfectly (independently): // Report Filtering $scope.filter = {}; $scope.getCategories = function () { return ($rootScope....