App using data inside the controller