add basePath and url helpers
add basepath as body data attribute
add $location.basePath() decoration
remove echo shorthand
Merge pull request #12 from stefanotorresi/fix/non-root-path-usage

Fix running in a non root path
Merge branch 'hotfix/12'

Close #12