I\'ve been trying to load data inside a modal window using AngularJS but I\'m not sure how to do that. I need the url also to change when the link is clicked and the data to loa
The Angular way is view watching the model and you changing the model:
selectedPost
.selectedPost
and hide/show the dialog.Here is a very quick version: http://plnkr.co/edit/0fsRUp?p=preview
Checkout Angular UI, they already have a component for Bootstrap's modal.