AngularJS: index controller test

Change-Id: I7acfae716f74e28d028bd2ce374f4ab56f5f1ca7
Reviewed-on: http://review.couchbase.org/40575
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>