MB-12222: current angular ui using promises

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