Questions tagged as 'angularjs'

2
answers

How to remove a link from a string in javascript?

I would like to know how I can do to remove the link from a string in javascript. str = "hey olha isso http://google.com.br, legal né?" var test = str.description.replace(/.*?:///g, ""); Expected result:    Hey look at this, cool huh?...
asked by 28.08.2015 / 20:21
1
answer

AngularJS, how to change bracket tags ({{e}}) to any other character of your choice?

In AngularJS by default comes the bracket tags ( {{ and }} ) for manipulation, wanted change to %% and %% , how should I proceed? Example: {{name}} to %%name%%     
asked by 01.06.2014 / 02:27
2
answers

Delete placeholder value in input when clicking using AngularJS

Does anyone know how I can delete the placeholder value when I click on the field using AngularJS only? Example: When clicking, automatically add the word name. <input type="text" ng-model="inputText" placeholder="Nome" />...
asked by 06.02.2017 / 14:35
3
answers

Angular Side Menu

I need to make a side menu that as I click on an item it points to the location of the page where this item is located. An example is this ionic page. If someone has an example to help, I'm very grateful.     
asked by 23.11.2015 / 11:28
2
answers
2
answers

Complex type Bind with AngularJS

I'm studying AngularJS and Asp.net MVC and I was not able to bind a Person's CPF property when I perform a POST: Person Class: public class Pessoa { protected PessoaFisica() { } public Int32 PessoaFisicaID{ get; set; } public St...
asked by 22.12.2015 / 02:10
1
answer

Dynamize title with AngularJS

I want to streamline my page% with AngularJS. It's currently static: <title>Workspace</title> I would like to know how I can change this name based on what is stored in database . Currently in a place where the client will do t...
asked by 13.11.2014 / 19:34
2
answers

Select with angular loading blank value

Well I want the select to start with a selected value, this value already comes in my ng-model: <label class="format">SELECIONE:</label> <span class="format"> <select name="grupo" id="grupo" data-...
asked by 06.10.2015 / 15:18
1
answer

Discovering the User's Hostname

I have an application running with AngularJS where I need to know the name of the machine (of the user) that is accessing the application. Has anyone ever had to do this with javascript?    Note: The front end is outside my local network   ...
asked by 19.12.2016 / 19:34
2
answers

AngularJS - accents

I'm using AngularJS and Wamp Server . In the program I'm doing I have an array: ($rootScope.fruits = ["banana","maça","laranja",'época'];) That is giving problems in the accents. Then I put it in plunker to show the code...
asked by 17.04.2015 / 16:03