Category "angularjs"

Create OTP form. input field to be appear as separate input fields on screen

I want design something like in the Image, where a 6 digit one time password (OTP) is to be entered by user. Right now I have achieved this by 6 separate inputs

best way to format ngModel for input type date

I know input[date] require date type from JSON, then I format ngModel value with new Date(json.date) , it's works 2015-11-15 become Mon Nov 15 2015 02:00:00 GMT

Is it possible to make an md-button smaller?

I want my buttons showing left- and right arrow and NOW text to be as small as possible. How do I do that? <div ng-controller="DateCtrl" layout="row" flex&g

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