Code base for tutorial published on the gh-pages branch: A Guide to Karma testing template and directive logic in Ionic apps