How to put conditions on first state in stateprovider

how can i bound a view to display if the condition is fulfill in state provider and like wise how to make a state which occurs only one time like a tutorial on first install??