Questions tagged as 'angularjs'

1
answer

Get the object of the selected row with ng-grid Angular-UI

I'm using% s of Angular-UI and need to get the selected object when clicked on the grid line. I have ng-grid : $scope.selectItem = function(item) { $scope.selectedItem = item; } I tried to write the function property o...
asked by 13.05.2014 / 23:01
1
answer

Angularjs - Http get is returning the html from the main page instead of json

Friends, I have a web app that works normally when installed on localhost. But when I deploy to a different server the http get returns the html from the main page instead of returning the json. Detail that occurs in chrome and firefox. In IE it...
asked by 20.04.2014 / 21:18
1
answer

Save tab information

I have my screen, as follows: Each tab corresponds to a class, and database entity, and going in the sequence there is a reference of them, that is to say in 02 has reference (fk) of 01, in 03 has reference (fk) 02 and so on. I've alwa...
asked by 27.06.2014 / 15:35
1
answer

Can I have a single route file in angularjs and have multiple modules?

I'm interested in separating my app by module app controllers views diretivas services --modules ----principal --------controllers --------views --------service --------index.html ----cadastro --------controllers --------views --------service...
asked by 04.07.2014 / 05:43
2
answers

I want to get the result of a Select to use in JavaScript

I want to get the option chosen by the person and simply print on the screen (it's just the basics, so I can do what I really want), I just do not know how to do it. The part of the HTML code that has {{value}} is where I want to appear what was...
asked by 03.01.2019 / 22:46
1
answer

Position absolute does not work in IOS

I'm trying to align a button at the end of a ion-item My css button is: position: absolute !important; right: 0%; bottom: 0; and the result on Android is: But in% w / o%, the button simply does not appear, or appears...
asked by 19.12.2018 / 18:31
0
answers

How to display sub comment of the parent comment sub with Spring Boot and AngularJs?

I want to display every comment with sub-parent comments with your child sub-comments. Same as this example. comentario #1 comentario 1 resposta #4 do #1 resposta comentario 1 resposta #8 do #4 resposta do resposta comentario...
asked by 19.12.2018 / 13:41
1
answer

Copy HTML and change ng-model

I have a piece of HTML that I'm duplicating via HTML. Within scope, however, the ng-model is not working. HTML: <html ng-app="App" ng-controller="Theme" > <head> </head> <body> <div id="parte...
asked by 02.05.2014 / 03:57
0
answers

Gulp and browsersync (gulp --nobrowser)

Talk to me, good afternoon, I have the following problem: I have the following tasks in my gulpfile.js var gulp = require('gulp'), cssmin = require('gulp-cssmin'), rename = require('gulp-rename'), uglify = require('gulp-ugli...
asked by 03.01.2019 / 19:49
0
answers

Separate methods from an Angular component 6

Hello everyone, I have a component with 1266 lines, due to its large volume of methods, I need to separate these methods to facilitate future maintenance, only problem is that I have local variables, and these methods mostly consume these variab...
asked by 14.12.2018 / 11:17