How do I get only the id and key ?
{
"type": "champion",
"version": "6.3.1",
"data": {
"1": {
"id": 1,
"key": "Annie",
"name": "Annie",
"title": "a Criança Sombria",
"info": {
"attac...
When I try to use the following code in a website template:
<img src="{{getImage(estabelecimento)}}">
The image loads correctly, but before loading this error appears in the console:
GET link 404
(Not Found)
Everything l...
I have permission levels for users on my system: admin user and basic user.
I have a page that only admin users can access. I put an ng-if="isAdmin ()" in the hide menu if you are not an administrator.
It works correctly, but if by chance...
I have the following problem, I have more than one angular navigation state that uses the same controller, like this:
.state('app.estado-navegacao-1', {
url: "/estado-navegacao-1",
views: {
'menuContent': {
templateUrl: "template...
Well, I'm having a hard time figuring out the best way to resolve this:
I have several skills and I need to save each skill with your score and skill id for each candidate.
I have a ng-repeat that lists all the skills in the form of the ca...
I need a regular expression that removes all special characters, and spaces of a string if it is a letter with an accent remove only the accent.
Would anyone help me?
I have a <input type=file> and I want to add the path of the image to this input to send the form to my webservice. I can get the image path through a factory and I can not change the value of this input by adding the path.
How d...
I'm using Angular Material Dialog and everything is fine, but when I put textContent it returns the following error:
CONSOLE ERROR
$mdDialog.confirm(...).title(...).textContent is not a function
JS
var confirm = $mdDialog.c...
I am making a JSONP request for a webservice. But sometimes the request takes too long. Since I am showing the user a load status, I would like to abort the request if it passes 10 seconds.
How do I set a timeout for a request in Angul...