Manage Customized Ionic Library

I would like to use ionic framework in my mobile project. My project required customization on the behaviour (directive) and look and feel (css) of some components.

What is the recommended approach to maintain and manage the customized library so that I could apply future ionic update with minimal impact?