Closed OwenMelbz closed 6 years ago
$scope.items.push['im a new item'];
This line is wrong, you should use parentheses to call functions. If that fixes the issue, please close it, since it isn't a issue in this library.
Ah that was just a typo as I wrote a an example with loads of other stuff stripped out
Hi Guys, really struggling to get this work as expected - not sure what I'm doing wrong to be honest.
But Im calling a function that pushes items to an array, however when this happens the scope doesnt seem to apply correctly as the new items do not appear in the list, however if i were to make a button that ran the same function it would work
You can see a plunker of it here -> https://embed.plnkr.co/fZ1fDORaDfAhRUK6uxhp/
here is the code as well