I have table in this template which is being updated on ajax requests. Initially this table is empty. And when I click on the button triggering the request, the data flow is going fine but it is not reflected on the table. The table is not getting displayed at all.
Also I have a loader which displays on triggering the ajax requests. Even that is not working when I put these parts of my html inside a ng-view
template. Is ng-view
not supposed to be used like this? If yes, are there any other alternatives in AngularJS to solve this templating problem?
index.html:
Contains a ng-view
div which is being substituted by something.html
core.js:
I have a get request getting the data into my "tables" variable by clicking on some button in the index.html
. I have checked (using console.log
) that the data is coming right and getting stored, the problem is that this change in the data is not getting reflected in the website.
something.html:
Contains the code displaying the table using ng-repeat
.