default js is blended into main angular controller