Moved angular test to index from header