Use lightController as index since jquery just use ajax for href, the ionic framework didn't work in this way