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)

0
votes
0answers
5 views

How to add uib-dropdown to a uib-tab to create a simple dropdown menu on a tab made with angular bootstrap?

i'm a novice when it comes to angular js (v1.5) and i'm currently working on a project using angularjs(v1.5), bootstrap 3, UI Bootstrap. i tried to add the dropdown directive to the tabs directive as ...
0
votes
0answers
5 views

page-scrolling with angularjs and IFrame

I created an angular controller, and in the: angular.element(document).ready(function () { ... } I placed my function for a smooth scrolling to the hash of the window.location.hash (using .animate({...
0
votes
0answers
30 views

changing the html DOM via javascript not responding

I am changing the background of a div with a function. The following is my html code: $scope.Background = 'img/seg5en.png'; document.getElementById("Bstyle").style.background = "url("+$scope....
0
votes
0answers
14 views

Javascript and C# websockets - disconnect instantly

I'm pretty new to sockests, so I just decided to make simple thing - I click button on client side (js/html5) and it creates websocket connection between client and server (to make json data exchange ...
0
votes
0answers
5 views

authorization architecture with token (Google Oauth) with separated front-end and back-end

I'm new in app architecture and need your help about implementation Google OAuth authorization. What I have: 1. Back-end - Asp.net web api rest service, Front-end - AngularJS app. How it's working ...
1
vote
0answers
4 views

Request tracker integration spring mvc / angular 2 web app

I am building a application with spring mvc as backend and angular 2 as front end. I have to integrate Request Tracker in it. Request Tracker(https://rt-wiki.bestpractical.com/wiki/REST) in the link ...
0
votes
0answers
10 views

Combining Angular Material with bootstrap ui

I am working on a application that makes use of Bootstrap UI, however recently I discovered the existence of Angular Material and I loved it the design. I started doing research and found out that ...
-1
votes
1answer
7 views

facebook authentication working with angular ui router

How to authenticate with facebook sdk in single page web application? The application is an angular application that would have to be used without azure ad and also be used with angular ui router ...
0
votes
0answers
9 views

MEAN Stack failed to instantiate module app

I am trying to create a tagging tool where a user can manually tag untagged call centre requests by means of a web page application. The app structure is as follows: client js ...
0
votes
0answers
4 views

move threejs project from browserify to angular1

Built a prototype in threejs for the client. Made it quite modular using browserify, but now it is desired to integrate into their angular app. Maybe you have any best patterns for integrating ...
1
vote
2answers
20 views

“Required” validation doesn't work in <select> with default value

I have a required <select> field: <select name="service_id" class="Sitedropdown" style="width: 220px;" ng-model="ServiceID" ng-options="service.ServiceID as service....
-3
votes
0answers
22 views

how to organize the following code correct?

how to organize the following code correct? App.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) { $locationProvider.html5Mode({ enabled: true, ...
0
votes
0answers
5 views

PayPal Plus payment methods in PayPal Mobile SDK

We are currently in the process of developing a hybrid app with the Ionic 2 Framework (AngularJS 2, Cordova). We are trying to find solid documentation on how to integrate the different payment ...
1
vote
1answer
28 views

req.body is undefined mean app

I have an issue on my app. The simple way to tell you whats the problem let mme show you my code var Meetup = require('./models/meetup'); module.exports.create = function (req, res) { var meetup = ...
0
votes
1answer
14 views

angular ui-router $stateProvider states iterate through object properties

I have been trying to dynamically populate the navbar from my states configured in $stateProvider. when i try to get the state name or the url or any other properties I get undefined, I have been ...
0
votes
1answer
18 views

Difference between app.register.controller and app.controller in AngularJS

I don't know when to use app.register.controller and app.controller to create controller after module is created. I have googled but I didn't find clear difference between two scenarios. please post ...
0
votes
1answer
23 views

CORS validation with Angular app and Rest services in Azure

We are working in the cloud, with Azure, where we have 3 segments: one for front (angular) one for back (java) and the last one for data. Currently, we are facing an issue that didn’t let us connect ...
0
votes
0answers
18 views

Expand text with animation limited by overflow and ellipsis css proprieties

I was trying to apply an animation on two state on a <p>text</p> html element. This text is truncate by some css proprieties : First state white-space: nowrap; /* Do not go to line ...
0
votes
0answers
16 views

Call method from resolve to set a property value inside a service (AngularJS)

When I go to a specific route, I'd like to run an $http request and store the result in a variable in a service. So when I go to the '/users' route I run the UsersFactory.getUsers() method in the ...
0
votes
0answers
7 views

angularjs form required field not showing the asterisk symbol

My problem is that the requiredsymbol does not appear next to the input field label name. Where is the problem? However, when I comment out the the $scope.form in the controller, I see back the red ...
0
votes
0answers
10 views

How to make a better custom ng-cloak directive that hide elements until ng-hide/ng-show is executed

I always had problems with ng-cloak, it's supposed adding it will prevent the flicker effect while angular is compiling/rendering the HTML, but the true is that it doesn't always work. I have an icon ...
0
votes
0answers
4 views

TinyMCE Dirty Flag is not set or is reset automatically after Editor leaving?

After Configuring the TinyMce Editor and some Functions I want now to Warn the User if he did changes but did not save them. For that Iam Checking the Dirty Flag at Blur. But its always set false . ...
0
votes
0answers
10 views

Angularjs UI modal resolve not working. ui.bootstrap.model

User clicks on videoClick <div ng-repeat="list in lists" ng-click="videoClick(list.src)">{{list.src}} </div> This works and following executes. $scope.videoClick = function(val) { $...
0
votes
0answers
11 views

Angular JS Unit Testing: search module error

In the package.json file I have following dependencies : "devDependencies": { "bower": "^1.7.7", "http-server": "^0.9.0", "jasmine-core": "^2.4.1", "karma": "^0.13.22", "karma-...
0
votes
2answers
19 views

webpack express Uncaught SyntaxError: Unexpected token <

i need help, with this error "webpack express Uncaught SyntaxError: Unexpected token <" can u tell me what i doing wrong ? webpack and express server not reported eny erorrs.. file struture: app ...
0
votes
0answers
10 views

scroll to $index on enterState

I use a bootstrap-ui accordion <uib-accordion close-others="true"> <uib-accordion-group ng-repeat="e in list" is-open="status[$index]" ng-init="status[$index]=false" index="$...
0
votes
1answer
4 views

How to use readonly() method to Kendo UI datetime input created with AngualrJS

In this pagei found this example <input id="datepicker" /> <script> $("#datepicker").kendoDatePicker(); vardatepicker = $("#datepicker").data("kendoDatePicker"); datepicker.readonly();&...
2
votes
0answers
33 views

How to communicate between components in Angular hybrid app?

I am upgrading an Angular 1.5 app following the upgrade guide. So I have bootstrapped a hybrid app using the UpgradeAdapter and implemented my components in Angular 2. The components communicate via a ...
-1
votes
0answers
11 views

angularjs authorization in other browser change mailid and password it will get responce how to stop the call in angularj

angularjs authorization in other browser change mailid and password it will get responce how to stop the call in angularj http://localhost:xxxxx/Login/LoginUser/[email protected]&...
1
vote
2answers
26 views

How increase image size with ng-click on angular js?

I need to add an ng-click function on image, when I click on it is must increase size and after when I left the mouse over come back to original size. with css i have create this and run good when ...
0
votes
0answers
24 views

Can't close sidenav

According to Angular Material 2 docs sidenav should close when you click somewhere on backdrop: Clicking the backdrop will close sidenavs that do not have mode="side" I have md-sidenav like ...
0
votes
0answers
34 views

Use lodash to find parent of granchildren

This is array that I am getting from back end with all checkboxes as selected: var array = [{ "name": "Program", "children": [{ "isSelected": true, "name": "Civil Rights", "...
0
votes
1answer
15 views

Angular 2 Better Message Service

I have a MessageService class that have a setMessage method which triggers an event and also a MainComponent class which is parent component of all components that listens to this event. so the event ...
0
votes
0answers
7 views

If we are not selecting any date in bootstrap date picker it's loosing it's already existingvalue

I am using bootstrap date picker in my project,I have two pages . Add item . Edit item I am selecting a delivery date in add item page and able to saving in to my database. In edit form I am getting ...
0
votes
0answers
7 views

Unable to Unit Test an Angular Controller with service mocked

I'm starting with angularJs and I'm facing an issue when trying to unit test a controller that have a dependency to a service. The application worked as expected but not the unit test. I obtain the ...
0
votes
0answers
2 views

AngularJS and n3-charts data from variables

I never used Angular so this maybe will be a silly question... I want to use the n3-charts to get a line-chart filled with my data... When I use this code everything works fine ... $scope.data = { ...
0
votes
0answers
8 views

Play next audio angularjs mobile

I have a function to loop through the playlist of songs in angularjs. On Desktop it works perfectly fine, but on iOS angular changes the object and track doesn't play until user tap. I know about ...
0
votes
5answers
28 views

ng-bind-html not working with my $scope.variable

I am trying to add something like dynamic HTML using ng-bind-html but its not working with $scope variable Here is my Angular code 1)My controller $scope.name = "Parshuram" $scope....
0
votes
0answers
11 views

ng-disabled does not work when in md-dialog

I have a button which I want to be disabled if both of the fields are empty HTML <md-input-container flex-gt-sm="30" flex="100" class="full-width dark"> <label style="color: black !...
0
votes
1answer
19 views

Fullcalendar: How to dynamically bind/add events with angularjs

how can I optimize my fullcalendar to dynamically add/bind events. I cannot find any usefull resources for angular. Most of the docs are jquery. Below is my set up. I have added the eventRender ...
0
votes
0answers
16 views

Binding object array to Angular component

I have a component with ui-gid inside, and I want to pass data to grid. Data comes from $http call to Web Api. Data is not shown when it arrives from server - grid inside a component is empty. The ...
0
votes
1answer
12 views

Angular unit testing, what's causing the $rootScope.$watch() to fire?

This is my Controller. (function() { 'use strict'; app.controller('NavController', navController); function navController($rootScope, $scope, $location, $window, NavFactory) { $...
0
votes
1answer
7 views

Utilising $scope.apply()

I have the following which works fine, drawing info from a RESTful api feed app.controller('servicesController', ['$scope', '$location', '$http', '$interval', function($scope, $location, $http, $...
2
votes
2answers
39 views

Custom search filter in angular JS

I have listed some invoice in my listing page. I have multiple search input. I want to search related data which I will upload in related field. I have Invoice Number, Customer Name, From Date, To ...
0
votes
0answers
9 views

Unable to Post JSON data to OData WEBAPI Service Action

I am trying consume my OData Action and trying to post a JSON Data as: { "contractId":[1,3,5,7,9], "projectId":9 } My Action is configured as : var deleteContracts = builder.EntityType<...
0
votes
0answers
6 views

HTML Select in forms causing page navigation in ionic

I am experiencing very strange behaviour with an Ionic app I have written, but only on touchscreen tablet devices (i.e. win 10 tablets). When running the app via the ionic cli ("ionic serve" command) ...
0
votes
0answers
6 views

Gruntfile.js - Task “default” not found… again

'use strict'; module.export=function (grunt){ //time how long tasks take can help when optimizing buildtime require('time.grunt')(grunt); //automatically load required grunt tasks ...
0
votes
0answers
11 views

ng-admin: unable to update parent entity which has a 1-N relationship with another entity

As the title states, I'm not able to update parent entity which has a 1-N relationship with another entity. My Configuration for the parent entity var quizz = nga.entity('quizzes') .identifier(...
0
votes
1answer
9 views

How to keep $stateparams parameters after i refresh the browser

I have this list of users .. When a user clicks in one of those user in the list.. it will redirect me to my profileState with the associated UID of the user. I use state parameters to pass the UID ...
2
votes
1answer
16 views

I am getting issue phantomjs and karma

I am facing issue while running grunt, it throwing me following issue: ERROR [launcher]: PhantomJS2 failed 2 times (timeout). Giving up. DEBUG [karma]: Run complete, exiting. DEBUG [launcher]: ...