Questions tagged as 'angularjs'

2
answers

Close button in md-select

I'm using the angular material, and I need a close button when I make the select selection, it just closes the box if I click outside, below has an example: HTML: <div ng-controller="MyCtrl" layout layout-align="center center"> &l...
asked by 31.10.2016 / 19:43
2
answers

AngularJS and angular 2, 4.6

Can I still use AngularJS? I want to use it for the simplest thing, example is to filter a list, and I do not want to install npm, nodeJS, angular CLI or use MVC structure for this. Can I use it or will it be "turned off"?     
asked by 09.08.2018 / 22:50
3
answers

What is the best way to pass JSON per parameter in Angular JS?

I'm developing a system using angular js and php. The user enters his cpf and his password in a form, remembering that this user is registered in the database with his information, like, address, name, etc. When user enter his credentials, I get...
asked by 18.04.2016 / 21:24
3
answers

AngularJS take a data from the input that was filled by a JS

Good morning, I'm a beginner with Web, although I know how to program in other languages. My question is as follows, via the path cep I got the algorithm that fills the address fields through a Javascript. My imput is this: input class="for...
asked by 25.04.2016 / 16:00
2
answers

How to disable button after sending message?

I have an app on Ionic that sends messages. I have already helped, here in the forum, to make a way that does not allow the user to touch the button send, without typing anything, so the message does not go blank. Blz, it works cool <button...
asked by 10.05.2016 / 21:52
1
answer

Image within an SVG

I'm using a svg, and inside it placing an image I get from a variable by AngularJS. So far so good, the image appears normally, but I want to leave it with 100% width. I've tried everything and it does not work. Does anyone have any ideas? <...
asked by 14.01.2017 / 13:16
2
answers

Javascript has been disabled in your browser.

I'm new to Angular, could anyone help me convert this code in javascript to angular. window.onload = function(){ var campo1 = document.getElementById("campo1").value; if(campo1 == 0.00){ document.getElementById("icon").style...
asked by 19.11.2015 / 19:15
1
answer

Filter in ng-repeat filter the parameter I passed in get

Hello, I am passing a parameter through my route and need to retrieve records with this parameter through an ng-repeat. $routeProvider.when("/detalhe/:placa", { templateUrl : 'view/detalhe.html', controller : 'detalheCtrl' }); But...
asked by 17.07.2015 / 16:13
1
answer

How to clean form with AngularJS?

I am creating an application with Ionic, I have a company registration and after registering the company I want to clear the form but I can not. How to do this? form <form name="Empresa"> <div class="list"> <...
asked by 06.01.2016 / 01:20
3
answers

Running my AngularJS application on some server

I have a front end application consuming an api rails, but I'm new to this idea of separating the front end from the back end, my api runs on localhost: 3000, and my front is simply a folder that I go there manually and open my html page, I want...
asked by 25.09.2015 / 14:02