I Have problems with my angular SPA app.
I have a FAQs html page (with its own controller) that is situated in my "views" folder.
It gets loaded within the index.html and because of thatt it generates anchor links from the index page rather than from the FAQs page.
So every table of content entry clicked redirects to the home page of the angular application.
i solved the problem by changing you source code to fix the issue.
Can i fork or pull you source code and push my fix for considerations and contributions as well.
Thanks
Colin
I Have problems with my angular SPA app. I have a FAQs html page (with its own controller) that is situated in my "views" folder. It gets loaded within the index.html and because of thatt it generates anchor links from the index page rather than from the FAQs page. So every table of content entry clicked redirects to the home page of the angular application.
For example: My home page url is "http://domain.biz/#/" my Faqs page url is "http://domain.biz/#/faqs" my anchored links generated by angular-table-of-contents will be "http://domain.biz/#how-do-i-pay-the-reduced-payments" instead of "http://domain.biz/#/faqs/#how-do-i-pay-the-reduced-payments"
Thanks Colin