1. Changed service name to $dateParser.
2. Added $log to display errors in browser console.
1. Updated unit tests.
1. Added demo.