How should I install metal corner trim on this slanted roof?
Normally you'd have your wall siding overlapped by an overhang.  I don't know what your roof details are but generally the detail would look similar to this foundation outside drip except the top of the drip flashing would then have a membrane on it.  The corner wall flashing would be shy of the drip edge.