Next I have a table fed by a simple routine. I need to make the scroll to tbody fixed. So far so good. Could make N forms. To try to make the responsive table I'm using a directive to calculate and set the value of each th after the data is r...
In AngularJS, I was creating a directive.
I noticed that when I used the = sign to capture a certain value from the controller scope, when I changed this value, the value of the parent controller was also changing.
For example:
an...
I have the following code in AngularJS but I get the error:
Error: [$ injector: unpr] Unknown provider: AuthenticationProvider <
Authentication
My code is as follows:
app.js
angular.module('app')
.controller('HomeController',...
I'm trying to make the ngPanelHead, ngPanelBody, and ngPanelFoot directives require to be within the ngPanel directive, otherwise an error will appear on the console. I tried with require but it is not working. I'm using version 1.4.8 of Angular...
I have the following scenario: I have a modal call directive and I want to pass another policy as content, the code is as follows:
maintain-provider-form.js
"use strict";
angular.module("fornecedor")
.directive('manterFornecedorFormulario'...
I'm having a coin mask problem with AngularJS.
I found this thread in Stackoverflow in English. The mask works fine by typing in the input and arrives right in the controller , however when I command formatted the controller to the scr...
I have a table that is rendered dynamically when passing an array of data to it.
I have access to the data of each "row" as follows:
{
"data": function (data, type, val, meta) {
return "<div style=\"color:green;\">" +...
I have a directive that returns me a select that when selected I want to get the value of the code from the controller and make an HTTP request.
Plunker:
link
I'm doing a job with Angular (version 1.5.8) and using Silex as Web Service. To send the file to the Web Service I am using Angular-File-Upload (version 1.5.1), and my Angular service is like this:
self.salvarAnexo = function (id, descricao, a...