Questions tagged as 'angularjs'

2
answers

AngularJS + Sharepoint + Rest API

Personally I am currently trying to develop a script inside sharepoint using the Script Editor but it is falling into the error of my code, as if the connection was not correct, however, in the Dev Http google the rest request works. Here is the...
asked by 14.02.2014 / 17:54
1
answer

Rest API and Sessions, how does Login work?

I've always worked with PHP / MySQL and Javascript / jQuery. I've always connected PHP with the database directly, and I use sessions to log in. I'm currently working on a project where I use AngularJS for the frontend and PHP / MySQL for the...
asked by 08.12.2015 / 21:32
1
answer

How to check if data already exists in the bank before inserting another in angular?

I have already made a modal that receives a name, it sends the controller in the function of inserting new contact. I want to check if this data is already registered in the bank so they do not sign it again. Anyone know how I can do this in Ang...
asked by 07.05.2018 / 19:45
0
answers

Creating a multi-level structure for components in AngularJS + ES6

I'm creating a robust application using AngularJS on ES6 and need to mount a structure so that the logic of the application components is organized. Basically, my application works with numerous modules, and these are structured in packages for...
asked by 21.12.2016 / 16:38
1
answer

Confirmation dialog using angular

How do I instead call this default browser alert (of addition confirmation) call a screen defined by me? or manipulate this alert and be able to apply css. $http.post("http://localhost:8080/rest/tarefas", $scope.tarefa) .success(function(d...
asked by 25.07.2017 / 18:05
2
answers

Angled route link does not work in bootstrap

Person I'm having trouble on the menu. The links made in Bootstrap are not bringing my angular routes. If I put the command in the navigation bar is going well. I already researched several things and nothing works. If someone came up, please he...
asked by 12.02.2016 / 14:04
1
answer

Error with Asp.NET Web.API + AngularJS

I have my method C# so [ResponseType(typeof(Categoria))] public async Task<IHttpActionResult> Post(Categoria model) { if (!ModelState.IsValid) { return BadRequest(ModelState); } if (_repositorio.InsertOrUpdate(...
asked by 18.06.2015 / 03:09
2
answers

How to make a dynamic meta description in angularjs?

How to do for description , which is in Array in controller , is rendered to <meta name="description" content="{{metadescription}}"> , which is in index.html, and can appear dynamically in views? I use $ routeParams;...
asked by 04.05.2015 / 05:12
4
answers

How to improve my code (many if's and else's)

I have a function to fetch a json locally and change the data of some fields. but I have to do the test if the field is with the status code and depending on I change with the correct value for visualization in the frontend. follow example:...
asked by 23.09.2014 / 17:00
1
answer

Alternating states of an application js

INTRODUCTION I'm developing an app using Electron and google maps, I need to control the state of one of the windows, for example: the user clicks the button and from this moment every click of the map adds a marker. Well the problem is in...
asked by 29.06.2016 / 21:43