Posts by Marcos Florencio • 31 points
2 posts
-
1
votes1
answer1014
viewsA: Why can’t I use $window.localStorage.setItem() with angular?
Try before saving the item in localStorage, turn it into String $window.localStorage.setItem('emailPro', JSON.stringify(email)) Then to recover you use this function to transform into a new object:…
angularjsanswered Marcos Florencio 31 -
2
votes1
answer897
viewsA: How can I get the date and time in angular and send it to the comic book?
That’s how it would work: $scope.enviarMsg = function (mensagem) { var enviaMsg = { mensagem: mensagem, idUsuario: $window.localStorage.getItem('idUsuario'), idCep:…
angularjsanswered Marcos Florencio 31