I\'ve got a page in my AngularJS app in which I would like to include the same html partial, but with different variables. If I do this in my main html:
html
consider you have variable foo inside your partial,
then you will pass foo like this:
for more browser compatibility you can pass it like this:
you can also Use onInclude="foo='bar'" instead of onLoad
onInclude="foo='bar'"
onLoad
plnkr.co/edit/GHRNyAMBKLvgtf3NFSRu?p=info