I have the following code that opens a modal:
<div class="uk-modal" id="new_task">
<div class="uk-modal-dialog">
<div class="uk-modal-header">
<h3 class="uk-modal-title">{{ newTask.name }}</h3...
I have a menu with accordion effect I need to find out how tall this menu is, remembering that the height is dynamic, ie when it has some open element it gets bigger.
Then you need to find the position of the clicked element relative to the s...
I have a menu that is populated dynamically:
<div ng-controller="menuDinamicoController as vm">
<div ng-show="isAutenticado">
<img src="{{vm.fotoUser}}" id="imagemUsuario" width="50px" />
<label id="nomeUsuario"...
How to check if the image returned with 404 error via javascript.
Below a sample code, I want to check if the get of this image is 404. If I want to put a certain image, if it does not return the image.
<!doctype html>
<html lang="...
My Gruntfile.js is set up as follows:
// Performs rewrites based on rev and the useminPrepare configuration
usemin: {
html: ['<%= yeoman.dist %>/{,*/}*.html', '<%= yeoman.dist %>/views/{,*/}*.html'],
css: ['<%= yeoman...
Well,
How do I subtract a day from the angle
old.endDay = start.startDay;
Example:
startDay = 05/05/2017.
endDay = 04/30/2017.
I'm sorry.
in fact I wanted was to take day out of startDay and send the change to endDay.
Thank you!
...
I'm using a function called with ng-click , through a link (Anchor).
However, because of the hash # , the page is "jumping" every time I click that link.
My code is this:
<a ng-click="openImageModal(request)" href="#">...
I'm trying to use a Array in a input[type=checkbox] with Angle 1, but I was not successful.
angular.module('app', [])
.controller("Ctrl", function ($scope){
$scope.campos = [{nome: "Brasil"}, {nome: "Argentina"}, {n...
Hello,
I wanted to know how I make a POST request for a url with angularJS and also wanted to know how I transform a normal javascript object into a json, to send in that request.