change js controllers injection to array notation