{"action":"opened","issue":{"url":"https://api.github.com/repos/bramdevries/angular-table-of-contents/issues/1","labels_url":"https://api.github.com/repos/bramdevries/angular-table-of-contents/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bramdevries/angular-table-of-contents/issues/1/comments","events_url":"https://api.github.com/repos/bramdevries/angular-table-of-contents/issues/1/events","html_url":"https://github.com/bramdevries/angular-table-of-contents/issues/1","id":104296498,"number":1,"title":"Using angular-table-of-contents with and SPA","user":{"login":"ColinWa","id":4995851,"avatar_url":"https://avatars.githubusercontent.com/u/4995851?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinWa","html_url":"https://github.com/ColinWa","followers_url":"https://api.github.com/users/ColinWa/followers","following_url":"https://api.github.com/users/ColinWa/following{/other_user}","gists_url":"https://api.github.com/users/ColinWa/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinWa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinWa/subscriptions","organizations_url":"https://api.github.com/users/ColinWa/orgs","repos_url":"https://api.github.com/users/ColinWa/repos","events_url":"https://api.github.com/users/ColinWa/events{/privacy}","received_events_url":"https://api.github.com/users/ColinWa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T15:51:28Z","updated_at":"2015-09-01T15:51:28Z","closed_at":null,"body":"I Have problems with my angular SPA app.\r\nI have a FAQs html page (with its own controller) that is situated in my \"views\" folder.\r\nIt gets loaded within the index.html and because of thatt it generates anchor links from the index page rather than from the FAQs page.\r\nSo every table of content entry clicked redirects to the home page of the angular application.\r\n\r\nFor example: \r\nMy home page url is \"http://domain.biz/#/\"\r\nmy Faqs page url is \"http://domain.biz/#/faqs\"\r\nmy anchored links generated by angular-table-of-contents will be \"http://domain.biz/#how-do-i-pay-the-reduced-payments\" \r\ninstead of \"http://domain.biz/#/faqs/#how-do-i-pay-the-reduced-payments\"\r\n\r\nThanks Colin"}}