Working through scope and controllers