Posts by Rodmentou • 198 points
4 posts
-
1
votes4
answers529
viewsA: Form Angularjs with ng-repeat
Opa! ;) Try to do it here: <input ng-model="cliente[field]" type="text"> In the previous way, you were giving bind to the object field of cliente, but you want to access the object whose name…
-
1
votes1
answer520
viewsA: Access token or Sessions in Apis
JSON Web Tokens VS Sessions If we’re talking about scalability, it is not possible to use only Sessions because the use of memory or I/What you will need is gigantic. Using only JWT, it doesn’t…
-
2
votes2
answers260
viewsA: Angular - delete $Scope.categoria_nova;
Whoa, hey, hey, hey! I rebuilt your code and put it to work. Take a look at this Working plunker var app = angular.module('appBonito', []); app.controller('categoriasCtrl', function ($scope, $http)…
-
4
votes1
answer1846
viewsA: How to host my angular application
Using Express on top of Nodejs as server, you will do the following: var express= require('express'); var app = express(); app.use(express.static(__dirname + '../client/app')); app.listen(80,…