I would cut the 45° angles on the table saw using using the sled if you got one. If you can tilt your saw 45 degrees that is. I assume you can since mosts saws now a days can do this. But since normally the blade can tilt only 1 direction (certian saws can tilt both ways.) Just remeber that if you are using your sled, and it has to be super exact that you must check the accuracy or rather the “toe out” (thats what I will call it here for lack of a better word), of your sled. Normally sleds are very minimally toed out to the left, like a couple of 10ths of a millimeter, as compared with the fence. The fence should be exactly parallel to the blade, but if you have a full length sled, it should not be 100% just like say 99.5% parallel, which can mess up sometimes if its over a longer length or exacting work.
If you are not sure, and want to use the fence, Take a spare or scrap flat plywood or hardboard, does not need be thick, just enough so that when you cut the angle, that when you turn it around and lay it face down, the sharp edge of the angle does not slip under the small gap in the fence where it meets the table of the saw. This is proabably best method, now thinking about it, because it sounds like you have rather short or smaller pieces.
good luck, hope I was helpfull!
-- Nicholas, Journeyman Cabinetmaker, Partenkirchen, Germany