Category "angularjs"

Ngmap select ng-repeat marker from javascript

I am using https://github.com/allenhwkim/angularjs-google-maps directive in my project Following is a code sample in which markers are drawn on the map <m

bootstrap fixed table headers with scrolling body

New to programming and first time posting here as well. I've got a bit of an issue with my bootstrap table inside a panel. I have a dropdown menu where the use

keep keyboard open on Ionic when button click ( chat app )

I have an Ionic v1 chat application, I made everything, but I encountred the famous problem when clicking on a send button (send chat) the keyboard loses focus

Compress image at client side (angularjs) and upload to server(nodejs)

I am using ng-file-upload directive to upload files to nodejs in my application. Now, I am trying to compress the image before uploading. To do that I have trie

Is it possible to use angularjs internal 'createDateParser' in directive?

Angular.js internally uses createDateInputType to handle date and time specific input elements with ngModel binding. In this createDateParser is used to parse d

angular js ui-select option repeat not working for object array

I am using Angular ui-select. My model & ui-select option array are different. While changing value its not updated and not displaying options. I am storing

angular js ui-select option repeat not working for object array

I am using Angular ui-select. My model & ui-select option array are different. While changing value its not updated and not displaying options. I am storing

Wait until scrollTo is complete before running a command

I've got an AngularJS app, and I have a smooth scrolling directive to force the page to scroll to the bottom. I want the command to only run after the scrolling

how to properly use angular-file-upload on a page

I need to use angular-file-upload directive (https://github.com/nervgh/angular-file-upload). I took the html as well as the controller example as-is from githu

Sort date property in object in ascending order Angularjs/Javascript

When I console.log the details variable, I get the following results: details:{ 1:{ 2015-2-10 : 0 2015-2-11 : 0

How/Where to import ngVue in Angularjs?

We recently decided our transition of migrating our biggest project from AngularJS to Vue, but for now we are just giving it a try one by one. We would like to

Prevent IDM from downloading automatically in web api

I have a web api method that returns an HttpResponseMessage containing a PDF file. The method looks something like this: HttpResponseMessage response = Request

how to replace undefined with a empty string

I am using jsPdf. When a field has been left blank "undefined" is printed on the pdf. I would like to replace that with a empty string. I am trying to use a if

Materializecss tabs not working properly

In the code below, I'm using materializecss and angular-materialize <div class="row"> <div class="col s12"> <ul tabs> <li clas

How to add image in dropdown in angularjs

I am working on dropdown with image in angularjs, i tried many solution but havent get any success. My combo data is coming in json format with three elements

Replace $scope with "'controller' as" syntax

I'm following this AngularJS+ASP.NET tutorial and they make use of $scope, but I'm trying to replace that dated usage with the new syntax controller as describe

nodejs: npm install command shows error

I've install node.js in windows and i gave npm install command, it is showing following error. I set environment variables. I gave npm cache clear also. Error

AngularJS - difference between pristine/dirty and touched/untouched

AngularJS Developer Guide - Forms lists many styles and directives regarding forms and fields. For each one, a CSS class: ng-valid ng-invalid ng-pristine ng-dir

angular animated sliding panel - shows for second when view loaded

i'm trying to build animated vertical panel which suppose to be hidden and when user clicks button -panel should slide from the right. here is my code: HTML

npm ERR! git dep preparation failed when trying to install package.json

I'm trying to install package.json file using the command npm install, but I'm getting the following error. npm ERR! git dep preparation failed npm ERR! command