got statesService tests working
getting getData with fixtures working; added .jshintrc for karma
spec/getData works
* key thing was figuring out how to get karma set up properly
    * have karma-ng-html2js-preprocessor (but NOT karma-html2js-preprocessor)
    * moduleName: 'cachedFiles',
    * Need to manually create the file name (cachedIdFromPath:)
    * If things go wrong
        * set karma.conf.js logLevel: config.LOG_DEBUG
        * MODIFY the nghtml2js code to do some logging (or run in npm debugger)
    * To use
        beforeEach(function () {

                module('cachedFiles');  // Load the module that has the data

                inject(function ($templateCache) {  // inject $templateCache and do a get. if it doesn't work, chances are the name isn't right! (console.log in html2js preprocessor)
                    fixture = $templateCache.get(testCase.fixture);
                });
            });
    * .jshintrc - copied from .jshintrc_jasmineinit - not sure if that is used
Forgot to add fixtures
after yo protractor
interim
protractor: interim
protractor: added protractor runner
fixed grunt test tasks. Now all test:target. target=unit, unit-single, e2e
Merge branch 'master' into protractor2

master was a false start implementing protractor.
protractor2 is  cleaner (and starts right before the other protractor stuff on master)

I did it mostly with this: http://www.asgarddesigns.com.au/2013/11/end-to-end-testing-with-angularjs-protractor-grunt-and-maven/

But aslo:
npm --save-dev install grunt-protractor-runner

... webdriver-manager update
and made my conf point to the selenium within the protractor folder
Homepage e2e test working!
e2e: added About page. And moved testNavbar to helper function for all pages
e2e: added cloudant api page
e2e:snapsPerDay working
interim
interim
Multipost e2e
    * key elements
    * latest
    * most points
    * most comments - 7 days

Note:
    * This does a beforeEach - which basically means each spec starts fresh, which is needlessly slow and lots of data calls.
    * BUT, if you don't do beforeEach, you get into weird timing issues, since protractor runs all tests after everything is resolved and that simply doesn't work.  Oh well.
Tweaked gruntfile to add rewrite rules to serve:dist

e2e works on source and dist
Finsihed for now.
cleaned up grunt test:all and other test stuff