move ngapp directive, clean up anchors