fix(ngController): allow dots in a controller name

The issue was introduced in cd38cbf975b501d846e6149d1d993972a1af0053
test(controller): instantiate controller defined on window

Just adding a missing spec.