Questions tagged as 'angularjs'

0
answers

Angular nulling data NULL

Already checked here Problem in request with jQuery ($ .ajax) and Angular ($ http) However, I'm not referring to sending my json form data to a form in html, dry the error   Possible unhandled rejection: {"data": "", "status": 406, "c...
asked by 04.02.2018 / 09:16
0
answers

save pdf returned from the backend

In my backend I have a function that returns a pdf public HttpResponseMessage Get() { var dataSet = new Reports.DataSet1(); dataSet.dsestado.AdddsestadoRow("1", "parana","pr", "1"); dataSet.dsestado....
asked by 03.02.2018 / 10:34
0
answers

Redirecting page error alone Angular 5 + Laravel 5.5

I'm new to Angular 5, I'm creating a project and I'm having a problem. When I do the http.get request and my page automatically redirects to home. Every time I click to open new page it loads the data and redirects to the dashboard, has anyone e...
asked by 03.02.2018 / 19:41
0
answers

How to use Ng Cordova ImagePicker on Ionic 1?

I'm using Ionic version 1 and the ng cordova $ imagepicker plugin. I have already resolved the dependencies. But it is giving error because it does not recognize the getpictures () method on the Controller. For this plugin to work do you need th...
asked by 03.02.2018 / 13:45
0
answers

angular 2 - Problem when calling directive

Good afternoon guys ... angular I would like help from you if possible. I'm having trouble using a policy. We created a directive in a directive directory, (app > directive) but within my form I can not use it. We have 2 directories...
asked by 05.02.2018 / 21:04
0
answers

angular / js access variable scope in an external js

Good morning, In the angle I have the following variable: $scope.aluno= aluno.matricula; In html, a js <script> var scope1 = angular.element($('aluno')).scope(); alert(scope1) </script> the scope1 variable is bein...
asked by 26.01.2018 / 12:27
0
answers

Request ajax in laravel

Route: Route::get('api/product/getProductsForAutomatic', ['uses'=>'ProductController@listSomeProducts']); Controller: public function listSomeProducts(){ $products = DB::table('products')->select('description')->get(); r...
asked by 26.01.2018 / 00:08
0
answers

Insert in table - strange value

I'm trying to insert a value into a table from a select option. html: <select class="form-control" name="chaveCadastro" ng-options="cadastro.cadastroId for cadastro in (cadastro | orderBy:'id' | filter:{active:true}) track by cadastro.id...
asked by 25.01.2018 / 11:42
1
answer

How to use unload with angular JS?

Unload should be called when leaving the page and hitting any url from another site. In an old version, without JS Angle, doing this, it works normal, it calls the request, when I call the debug the API is entering ... window.onbefo...
asked by 02.02.2018 / 14:05
0
answers

how to create a currency mask with regEx

Hello, I'm a beginner with angle 4, I'm trying to make a mask for a text field to validate a value in m². The class Mask contains the method to create the mask, the value informed can be between 1 and unlimited. I wanted the method to retu...
asked by 22.01.2018 / 19:23