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

How To Convert Web Form Submit to MVC Submit Form With Angular?

Prewritten Web Form Code in this way. I want to send by using angular. I wrote a code as follows. But post-operation was not. Why Not ? <input runat="server" id="hostURL" type="hidden" name="...
1
vote
0answers
3 views

Ionic - Drag element from one view to another

I'm using the Ionic Framework to build a hybrid app and its heavily dependant on drag and drop features. Using the 'sidemenu' template I have created one main view, and two side menus. The main view ...
0
votes
0answers
2 views

Ag-grid server side pagination with buttons of page number angular 1.X

I can't found some doc about this. Please how can i add the number of pages as button to the pagination buttons (Next, End, Prev, Start).
0
votes
0answers
12 views

Can't access a scope property from directive

I want to read an attribute from a directive but when when i want to accees to it (scope.b) it gives me always true and it's actualut an array . This is the directive definition : (function() { '...
0
votes
0answers
9 views

How to update the @angular Folder

I'm trying use the @angular/route. "import {AsyncRoute, Router, RouteDefinition, RouteConfig, ROUTER_DIRECTIVES} from '@angular/route';" But I'm getting a error: "Cannot find the module '@angular/...
0
votes
0answers
11 views

angularjs service uncaught syntax error unexpected identifier

Angularjs service which is returning my json data from web service is creating error uncaught syntax error unexpected identifier at return statement. this is my angularjs service- app....
0
votes
0answers
3 views

Ionic slide box issue

I am pulling data from Laravel server and everything gets loaded fine. The problem is ion-slide-box. First problem is that from 2 loaded images the second is shown somehow like an overlay over ion-...
1
vote
0answers
9 views

angularjs app web.js structure to deploy on heroku

I have been struggling with this deployment for weeks now, but no success. For my app to run locally, I run grunt serve and also node backend/app.js , however, I am trying to follow the way it was ...
0
votes
1answer
5 views

Unable to access a customized header in CORS environment using spring mvc and $http

I have done an extensive search for the mentioned issue, but unable to find a workable solution. Kindly have a look on some imp codes and suggest. // My factory method that returns a promise ...
0
votes
1answer
27 views

Angular JS: Add class to element

I'm doing the next thing. I want to enter empty values in input its boundary highlighted (added new class 'warning'). I created the following code. HTML: `<body ng-app="TestPage"> <form ng-...
0
votes
0answers
7 views

Upload picture using angularjs and rails paperclip

I am u using paperclip in rails and angularjs, need to upload a picture when i upload a picture using rest client or postman it works but when i am send the picture abject which has all details about ...
-1
votes
0answers
21 views

Preview File input type image

Trying to preview a file when opening from finder into browser. I have a simple form that is connected to angular app and node api which makes doing this with HTML and ANGULAR crucial. I have searched ...
0
votes
1answer
18 views

How to use mongodb node.js and angular js to create a course registration portal

I try creating a course registration portal, everything was working correctly but when i try to create a button where student can click to register their courses it was not working here are my codes ...
0
votes
2answers
16 views

Angular JS filter giving 'notArray' error

I'm getting data from my local PHP file as JSON format (here's a screenshot). The filter works fine, but I'm getting this error as you can see in the pic. core.js var app = angular.module('cnrapp'...
-1
votes
1answer
19 views

AngularJS select > option group by

$scope.accounts = [ {id: 1, name: 'Tommy',status:'premium'}, {id: 2, name: 'Alexander',status:'free'}, {id: 3, name: 'Lorem',status:'banned'}, {id: 4, name: 'Ipsum',status:'...
0
votes
2answers
12 views

asp.net web api Authorize 302 code

When I send request from client side I received 302 code and redirect to login but next I received: Console log: XMLHttpRequest cannot load https://login.microsoftonline.com/........................ ...
0
votes
0answers
7 views

Infinite scrolling table per-cell actions with AngularJS

I want to build a web-based database table editor which allows me to view and edit a large (10 columns, 100.000's of rows) table in an internal webapplication. It is an existing webapplication built ...
0
votes
0answers
9 views

Width of HTML body changes when ng-view includes multiple rows in Bootstrap container

I used the Yeoman angular-generator to create an AngularJS app with Bootstrap. When I use more than a certain number of Bootstrap rows in a partial view, the HTML body width suddenly gets smaller ...
1
vote
0answers
7 views

Angular 2 Router Error : TypeError: Expecting a function in instanceof check, but got undefined

I am working on creating a simple 2 pages JavaScript application using Angular 2 pure JavaScript. I am stuck at the router navigation and getting a weird error. See the logs and files below logs > ...
2
votes
0answers
16 views

Sending File and JSON from Angular to Restlet

I have a form that includes an object bound to the html with ng-bind. The same form includes a fileupload widget: <input type="file" id="uploadedFile" name="uploadedFile">. I'm submitting this ...
0
votes
3answers
40 views

How can I console.log expression in AngularJS?

As a new "Angularian", I have this: <div data-ng-app="" data-ng-init=""> <input type="text" ng-model="hello"> <p>{{hello}}</p> </div> But I wonder, how can I ...
0
votes
0answers
12 views

submit form from all website pages using Angular

I have callback button in header of my webpage, so user can send me message from every page. <a class="btn btn-primary btn-large" href="#callback" title="Обратный звонок" data-toggle="modal" data-...
-1
votes
0answers
9 views

How to get 100 stock data from a web service with Angular?

I have 100 stocks name's and i want to get each stock details from web-services. The web-services return each stock data in JSON format.The web-service returns one stock details per request. which is ...
1
vote
1answer
7 views

Issue with Url redirect on $location in Angularjs - Cannot read property 'path' of undefined

I'm new to AngularJS and I'm trying to run this AngularJS that should modify the URL without reloading the page when I click on my submit button but in console I get TypeError: Cannot read property '...
0
votes
1answer
17 views

angularjs routing - stay on page and do nothing on “otherwise” method

I need to set Angularjs routing to do nothing on "otherwise" method. var townApp = angular.module('townApp', ["ngRoute"]); townApp.config(function($routeProvider){ $routeProvider .when("/...
0
votes
3answers
18 views

test if I clicked a button before redirecting AngularJS

I have a div which contains ng-click to be redirected to another page to show details, but in this div I have a button (Follow) and When I click on the button I should stay on the same page <div ...
0
votes
0answers
21 views

Jasmine tests for show hide

I have a directive like this: angular.module('MyModule', []) .directive('visible', function() { return { restrict: 'A', link: function(scope, element, attributes) { scope.$watch(...
0
votes
2answers
24 views

POST request with multipart data in spring mvc

I am using ng-file-upload in Angular on client side to send a file(image,text etc) to Spring Boot Application. I have Client side running in Xampp with url "localhost" while have spring instance ...
2
votes
1answer
23 views

Make angular Manually go to compile phase

I'm using ocLazyLoad to load my modules on demand in Angular. These modules are totally different and we should check using the server which module should we load. Before Using ocLazyLoad I was ...
0
votes
0answers
14 views

How can I force google map resize from an angular function?

I have an angular function that makes the map div size extend. When I run this function I would like to force google map to force resize. The answer I see on the internet continues to be a window ...
0
votes
0answers
12 views

404 zone.js errors from upgrading from angular2 beta.17 to rc.4

I have upgraded from Angular 2 beta.17 finally to Angular2 Rc.4, and I did everything I should should. I am using WebStorm and searched all files and cannot see why it is causing these errors as i ...
0
votes
1answer
34 views

Why the error is not showing when I enter a wrong phone number?

<!--Validation on phone number--> <div class="form-group" ng-class="{ 'has-success': form.number.$valid && submitted, 'has-error': form.number.$invalid &...
2
votes
0answers
26 views

Angular login auth what about using web worker?

What do you think about this approach using web worker for angular login/auth it looks good at me and in this way you can get rid of $rootScope event as well :) This is just an example in a more ...
0
votes
0answers
8 views

how to annotate ngdoc for an angular 1 component?

I'm writing an angular 1 component and I was wondering what's the correct way to add ngdoc annotation both to the component itself and to the controller function. Do you have any examples? Thanks.
-1
votes
1answer
24 views

Display image from local using angularjs

Trying to preview image from local drive. Image name is save in the local db. Functionality is, first we create a user, upload pic and after we can edit the user. When we edit the user, I am unable ...
0
votes
0answers
19 views

angularJS $stateProvider - resolve $scope

I'm trying to resolve $scope for component-usage reasons but it seems to be a problem... please look at the code and let me know if you see a problem or have a different idea of how to implement it. ...
0
votes
3answers
32 views

Angularjs ng-view does not display the Page

I am new to angularjs,i am working on angularjs Routing using ngRoute. MasterPage.HTML <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></...
0
votes
0answers
14 views

Replace ng-bind-html in component with attributes

I have a created a component with bindings to three properties. bindings: { 'comptitle': '@mycomptitle', 'compsubtitle':'@mycompsubtitle', 'compminisubtitle':'@mycompminisubtitle' } ...
0
votes
0answers
9 views

ngDialog is not working

How to call ngDialog model form when user clicks on a HyperLink. Below is my angularJs Code. SignupDialog is not working? <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <...
0
votes
0answers
20 views

How to create connected modal forms with angularjs?

I want have a table showing a list of students. When a user clicks on a one of these students, a modal form pops up showing the details of the student (this works fine). I expose the selected student ...
0
votes
1answer
12 views

How to create dynamically objects in AngularJS?

I have this code <script> var demo =angular.module('ExampleApp', ['ngDraggable']); demo.controller('MainCtrl', function ($scope) { $scope.centerAnchor = true; $...
0
votes
2answers
17 views

Error: [$injector:unpr] Unknown provider: ui-calendarProvider <- ui-calendar

I am using Angular 1.5 and have been trying to use AngularUI Router but without any luck. Whenever I add a div element with ui-calendar such as: <div ui-calendar="uiConfig.calendar" ng-model="{}"&...
0
votes
0answers
5 views

Jasmine + Chutzpah: Expected undefined to be equal

I'm new in this angular world, so sorry if this is so basic, but I'm not getting it I'm having this error whenever I try to run my jasmine tests My controller is defined this way: angular.module('...
0
votes
2answers
12 views

Angularjs: Restore active tab on screen-1 when navigating back from screen-2

I have a screen-1('home' screen) which has three tabs (say tab1, tab2, and tab3). When app launches, the 'tab3' is active (in homeController.js I have set "$scope.active='tab3'"). Now when I open '...
1
vote
0answers
13 views

AngularJS RxJS Observable on message event

We open a Facebook window for authentication using, window.open(...) and subscribe to message event, using: let source = Observable.fromEvent(window, 'message'); var subscription = source....
0
votes
0answers
15 views

HTTP GET Through Angular Results in Infinite Redirects

I am trying to scrape a web page using the $http directive in Angular. This is the code I am using: var request = { method: 'GET', url: 'https://webapp4.asu.edu/catalog/course?r=80232', headers:...
0
votes
2answers
21 views

AngularJS - Controller values not binding

In my MVC program simple angular value controllers values are not binding. My code is as follows : _Layout.cshtml <body data-ng-app="ShoppingCartApp"> <div class="container body-...
0
votes
0answers
25 views

Data is showing in controller and service but not showing in view

view--index.html it will print array of data in ng-repeat <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>hii</title> ...
0
votes
0answers
29 views

Angular $http service not calling express route

This is my angular method that would try to send http get request to local server $scope.getMeth = function(){ // Simple GET request example: $http({ method: 'GET', url: ...
0
votes
1answer
14 views

Angular instant search with filter is not working on JSON api calls

I was trying to collect JSON data from an API endpoint using AngularJS and that worked just fine. I was able to make list using the datas. Also tried to include an input to search. But the instant ...