Questions tagged as 'angularjs'

1
answer

Problems with uib-tooltip-html angularJS

I have a problem with returning a value using the angular-ui-bootstrap. I have a function to return the result of each tooltip dynamically in a table the problem is that whenever I return the $ sce.trustAshtml of a function it just does not work...
asked by 13.07.2016 / 15:21
1
answer

Parallax component - Materializecss and Angularjs

I'm using one page, angularjs and materializecss. I'm doing the SPA schematic of the angle, in my index.html I have a menu and a footer being among them has the tag <div ng-view></div> I use $ routeProvider to route to the...
asked by 13.07.2016 / 00:04
0
answers

entering data in web api

I have a SPA application and it consumes a REST API done in ASP.NET WebAPI. When trying to perform an insert in the API, the following error is returned:    Response for preflight has invalid HTTP status code 405 In web.config...
asked by 21.06.2016 / 04:59
0
answers

Make a select with options that will be saved and variable!

Good morning, I would like to create a code in which I have a select with several options and when one of them is selected and the user gives the submit, the string of that option is passed to a variable, can you help me? in the case of the code...
asked by 23.06.2016 / 15:01
0
answers

Datatable. visible () does not work

I'm using this library angular-datatables , but the visible function is not hiding the desired columns when loading the page. Here is the code that should hide the columns: $(document).ready(function () { var column = $('#DataTa...
asked by 13.06.2016 / 21:47
0
answers

Error in the JSON object in php

Is there any modification when creating or getting a JSON object in PHP? I have the following code: Angular: $scope.atualizaUsuario = function(usuario) { $window.localStorage.setItem("nome", usuario.nome); $window.localStorage.se...
asked by 17.06.2016 / 22:48
1
answer

How to configure angular routes with asp.Net Mvc

I created a controller that calls the Index.cshtml and within Index.cshtml contains the <ng-view> directive that should render index.html but does not work. Controller public class ClienteController : C...
asked by 05.07.2016 / 01:53
0
answers

Problems with CORS in application using API with Slim framework and angularjs

Good afternoon friends I'm having trouble solving a problem Requisição cross-origin bloqueada: A política de mesma origem (Same Origin Policy) impede a leitura do recurso remoto em http://api.dominio.com.br/exemplo. (Motivo: o cabeçalho...
asked by 07.07.2016 / 20:26
1
answer

Login Firebase only works by double-clicking the button with ng-click

I'm making a login page with the email and password fields and a button that calls the following function: $scope.login = function(usuario){ $scope.isLoading = true; firebase.auth().signInWithEmailAndPassword(usuario.email, usuario.senha).cat...
asked by 03.06.2016 / 18:02
1
answer

How to leave sidenav and toolbar fixed with angular material

I want to leave fixed sidenav and the toolbar of the Angular Material, and the contents of the application stay on the rest of the page. In my index.html I'm using the ng-view directive to render. I have a page menu.html that is sidenav and toll...
asked by 01.06.2016 / 20:47