Tidied code and resubmitted to Apple
Updated angle view to pass parameters through URL and update index.js to pass the pitch local storage item into a variable. Warning: Not stable, there are issues with Ajax loaded views