[AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Mathias Christensen
I've done that, but still not working. I do have in mind, that maybe I should store my data before it can get it by id or something? I'm quite new to angularjs :/ Den torsdag den 15. maj 2014 14.09.19 UTC+2 skrev Filipe Monteiro: Your scope functions are inside of your http.get success. You

[AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Mathias Christensen
Hello. I've done that now, but still doesn't work. Should my delete form look different? Should I store my data somehow or anything? Den torsdag den 15. maj 2014 14.09.19 UTC+2 skrev Filipe Monteiro: Your scope functions are inside of your http.get success. You should put those functions

Re: [AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Mathias Christensen
I just tried that, and still doesn't seem to work. But I figured something out. I tried this: var customerListApp = angular.module('customerListApp', []); customerListApp.controller('customerListCtrl', ['$scope', '$http', function (scope, http) {

Re: [AngularJS] Re: Help! I got troubles with my AngularJS delete(by.id)

2014-05-15 Thread Filipe Monteiro
you need to call some function (rest, for example) to delete this register in your database, the angular part is working perfectly. 2014-05-15 9:34 GMT-03:00 Mathias Christensen mathias.soll...@gmail.com: I just tried that, and still doesn't seem to work. But I figured something out. I tried