Category "angularjs"

angular - catch backspace press

I am trying to catch backspace press via ngKeypress, ngKeydown and ngKeyup,follwing How can I detect keydown or keypress question. Here is my HTML: <input

angularjs custom directive not working

I added my custom attribute to my application like this 'use strict'; myApp.directive('orientable', function () { return { restrict: 'A', link: fun

Multiple config blocks in angular module

I need to resolve some dependencies (fetching data for my services, etc.) in my app before it loads. I would like to separate these out, so that I have one con

How to check if a file has downloaded successfully?

My page has a link that on clicking will download a file. I just need to check if the file has been downloaded and of the correct extension.

Google Place Autocomplete dropdown falling "below" screen

I've been writing AngularJS web app and google places autocomplete autogenerated dropdown code causes it to sometimes be out of DOM. HTML code defining input t

Find missing day from array of dates javascript

I am getting an array of day dates from an API: 0:{date: "2016-11-17T00:00:00",…} 1:{date: "2016-11-18T00:00:00",…} 2:{date: "2016-11-19T00:00:00

jasmine: Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL

I have an angular service called requestNotificationChannel: app.factory("requestNotificationChannel", function($rootScope) { var _DELETE_MESSAGE_ = "_DEL

Angular Textbox Undefined

So I'm trying to programmatically edit a textbox in a webpage through chromes developer console. This is the code of the textbox. <input formcontrolname="use

Angular $scope variable not updating

In my angular, I define a scope variable $scope.letter_content. When the view is loaded, I load string from my database and set it to $scope.letter_content. The

how to transclude components?

I'm using angular-gridster in a project i'm working on. We are building the project mainly with angular 1.5 components. My view looks like this: <qn-grid>

How to find a keyword in a visual studio project

I am looking at an old project one of my colleagues wrote in AngularJS in Visual Studio and as we all know, it's pretty difficult to understand code when you're

how to show a confirmation dialog box in toastr

I have the below code for a delete button in the controller, $scope.removes = function (scope) { toastr.success("Delete all?","<br /><br />

Protractor (WebDriverJS) cannot switchTo window. nameOrHandle is not defined

I have gone around this as many ways as I can think, and still can't get this to work. I am trying to switch to a popUp as a way to automate a login. (Protract

nodemon app crashed - waiting for file changes before starting

EDIT After further testing, I have found that this is happening with both gulp and grunt on this app and on the default install of mean.js. I'm running this lo

Datatables search, filter, and export with Firebase

I have a CRUD app powered by angular. Recently I added datatables to it in order to search, filter, sort,export and hide columns using the power of datatables.