Made some progress with angular, angular-ui, $modal