Questions tagged as 'angularjs'

1
answer

Ng-repeat with pre-selected value

I'm building% complete%, and at the time of editing, I'm having a problem with CRUD . To save, I have a form with a ng-repeat and select that contains the functions that a collaborator can have (Coordinator, supervisor, teach...
asked by 07.09.2016 / 05:23
1
answer

Access function declared in the directive controller by transclude objects

I'm trying to create a directive that has its scope isolated, but that has some functions that it will be responsible for doing p / directive. Is a div that contains a table and a "Add" button when clicking on the add will open below the table a...
asked by 26.09.2016 / 20:42
1
answer

How to get data in php passed by parameter with angle

I need to get 1 last data from the angle controller for my php file, how do I? app.controller("EditarPerfilCtrl", function ($scope, $http, $window) { var idempresa = $window.localStorage.getItem('idemp'); var empresa = $window.localStorage.ge...
asked by 11.01.2017 / 22:04
1
answer

ng-options "selected" does not work

I'm using the ng-options function and it's listing correctly, it just is not showing the value marked as default: selected Code: <select class="form-control" ng-model="genericCustomersViewModel.customer.addresses[0].stateId"...
asked by 21.06.2016 / 14:38
1
answer

Save entity rest using @oneToMany

I have the following entities generated by jHipster using java with oneToMany relationship: Product @Entity @Table(name = "produto") public class Produto implements Serializable { private static final long serialVersionUID = 1L; @Id @Ge...
asked by 16.06.2016 / 16:20
3
answers

Doubt about changing variable in another controller angularjs

I have a screen consisting of a side menu (controller1) and a menu at the top (controller1). By clicking on the link from the top menu, the application loads information in the side menu, as well as the page in a central div (controller2)....
asked by 09.06.2016 / 19:22
1
answer

Generate charts with ChartJs and AngularJS

I have a problem generating charts using ChartJS and AngularJS. When loading the data of an api X I get an array of objects that contains the data needed to generate a series of graphics follows below an object model { 0: {total: 100.00,...
asked by 20.05.2016 / 16:29
1
answer

Read JSON and print in html with angularJS

I am trying to print the data from a JSON file in html using AngularJS, running everything by XAMPP and in my htdocs / test folder has 3 files (index.html, main.js, test.json). The console does not show any errors, I even tried to debug by firef...
asked by 21.05.2016 / 14:22
1
answer

Interface GET and POST Method with Angular + Node.js

I have some beginner's doubts and I wanted to help you. I created a Residential Automation, based on Microcontroller + Node.js + Angular.js. Communication of the Angular.js with the Microcontroller is OK. But I will also do the reverse. In wh...
asked by 04.10.2016 / 15:01
1
answer

Success, JavaScript and Angular Message

I'm making an application where I register for a new company, I'm a beginner in java script and I'm also using Angular in my project. What I want to do is, when the user clicks register, give a success message and then go back to home page, I tr...
asked by 11.07.2016 / 19:06