init angular and calendar